another snippet from an old document, I found in a dim dark and hazy corner of an even older HDD… rather than let it disintegrate, here it is migrating to the web just in the (extreme) off chance that it may be useful to someone out there 😉
RLU is used to design a report image, print prototype reports, create printer files, and generate DDS from which the report will be created. A prototype report is a printed copy of the report image that looks like the report that an application program will generate.
The Design Report display is the main screen from which you edit the report. From this display you can use function keys to go to other displays where you can add information at the file, record and field levels. You can also go to the Change Session Defaults display where you can control the characteristics of your edit session.
There are two ways to print your prototype report. When you start RLU you can specify option 6 to print from the STRRLU display. From within the session you can specify that you want to print from the Exit RLU display. On the Exit display choose Y=Yes for the Prototype report prompt and the report will be printed.
There are a few things you should keep in mind during your RLU session:
This field displays which columns are currently visible on the display. The first number in this field represents the first column of the report line that is shown. The second number represents the last column that is shown.
The name of the library and the source file containing the report you are editing.
RLU commands provide a shortcut to the functions on the Find/Change Options, Find Options, Exit, and Change Session Defaults displays without leaving the work screen. RLU commands are free format commands. The command parameters are either required and positional, or optional, and they can be entered in any order.
To run an RLU command, type it on the command line and press a positional function key: for example, Enter, Roll Up or Down, F19=Left, F20=Right.
Some commands have abbreviations: for example, you can enter F or FIND to run the FIND command. To retrieve the last command you entered, type F9=Retrieve. If the cursor is in the data area, you can use F10=Cursor to move the cursor back and forth between the data area and the command line. RLU remembers up to 50 commands.
To see help for an RLU command, type the command on the command line and press the Help key.
Note: You cannot enter system commands on the command line, but you can enter a system command on the work screen by pressing F21=System command. A window appears where you can enter a system command.
You can enter the following RLU commands on any command line on the work screen (Edit, Browse or Split displays):
o FIND or F
o CHANGE or C
o CANCEL or CAN
o SET or S
o HIDE or H
Note: FILE, SAVE, and CHANGE commands can only be used in an Edit session or in the top session of a Split Edit/Browse display.
The SET command has these options:
Note: The SHIFT and TABS options can only be used in an Edit session or in the top session of a Split dit/Browse display.
The name of the report you are editing.
BASE indicates that the base function keys are active. ALT indicates that the alternate keys are active.
The ruled line at the top of the display.
Line control area
The area on the display consisting of line numbers and record format names. You can enter line commands in this area.
The following line commands are available in RLU, in addition to most SEU line commands:
o Define Record Format (DR)
o Change Line Type (CL)
o Create Sample Data (SD)
o View Field Line (VF)
o New Page (NP)
o Define Constants (DC)
o Define Fields (DF)
o Center Fields (CF)
o Space Fields Evenly (SP)
The work area for the report you are designing or editing. This area consists of the following three types of lines:
A report line is any line of the report that is part of a record format. Report lines are involved in DDS source generation.
The first report line in a record format is indicated by an R in the line number area. Subsequent report lines, which are called continuation lines, are indicated with a + in the line number area.
A sample line is a line used to make the report you are editing look more like the final report. Sample lines contain sample data that is associated with the preceding record format. The first sample line in a group of sample lines is indicated by an S in the line number area. Subsequent sample lines, which are called continuation lines, are indicated by a + sign in the line number area. These lines are not involved in DDS source generation.
Filler lines are lines that separate one record format from another. They are indicated by a . (period) in the line number area. Filler lines are involved in DDS source generation.
A field line is a temporary record that may be displayed above the report line and is denoted by FLDn in the sequence number area, where n=1, 2, or 3. The field line indicates field boundaries within the record, allows editing of fields in the record, and accepts certain commands to facilitate field generation.
Press F1 for additional help about using the display.
Press F3 to go to the Exit RLU display.
Press F4 to work with a list of the fields within a DDS record format.
Press F5 to restore all entries to what they were initially.
Press F6 to go to the Condition Design Report display to set indicators on or off to condition the fields and keywords and how they are displayed on the work screen.
Press F9 to retrieve the last command entered.
Press F10 to go to the Work with Database Fields display where you can build a list of database fields to display at the bottom of the work display for inclusion in the report.
Press F11 when the cursor is not on an existing field and the Define Field Information display appears where you can create a new field.
Press F12 to cancel the Split Edit/Browse or Split Edit/Prompt session. You will return to a single Design Report session.
Press F13 to mark a character, field, or block of text to be copied or moved. If something has been marked, and you move the cursor to another area and press F13 again, the new area will be highlighted along with the first area you highlighted. Now you can use F14 to copy the data to the new marked area, or F15 to move the data to the new marked area. If you press F13 again with your cursor on the marked area the marked text will be unmarked. You can change the way a move or copy is performed by going to the Change Session Defaults display.
F14=Copy marked data
Press F14 to copy a marked area to another area. Your cursor should be in the top left corner of the area you are copying to when you press F14.
F15=Move marked data
Press F15 to move a marked area to another area. Place your cursor in the top left corner of the area you are moving the marked data to and press F15.
Press F16 on a field line, report line, or sample line to delete the field’s text and the associated sample data, as well as all associated field level information from the Design Report display.
Press F17 to go to the Work with File Keywords display, where you can change the file level definition. If you used the Input Keywords display the last time you worked with keywords then the Input File Keywords display will appear when you press F17.
Press F18 on a report line or sample line to go to the Work with Record Keywords display. If you used the Input Keywords display the last time you worked with keywords then the Input Record Keywords display will appear when you press F18.
Press F19 to move the record area to the left on the display.
Press F20 to move the record area to the right on the display.
Press F21 to display an entry window where you can input system commands.
Press F22 to display the alternative set of function keys.
Press F23 with the cursor on an existing field and the Work with Field Keywords display appears where you can change field definitions. If you used the Input Keywords display the last time you worked with keywords then the Input Field Keywords display will appear when you press F23.
Press F24 to view the other function keys available.
IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Alpha Nerd and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and in the words of the most interesting man in the world: Stay thirsty my friend.
How do we Check for Batch or Interactive in CLLE
Developerworks Connections Sunset – How to Extend RDi
Why use IBM i RDi?
How to Install IBM Access Client Solutions (ACS)
IBM i Data Obfuscation – Making Data Foggy Murky and Squinty
How to rename Fresche (BCD) Presto Library – XL_PRESTO
What is AS400 modernization?
IBM i ACS 5250 EMULATOR FONT – and other ridiculous mumbo jumbo