Você está na página 1de 8

RLU Report Layout Utility

Document Information I Title RLU/400 CONCEPTS II Revision History Version No. Release Date Author 1.0 07-16-2005 Amit Bhat Significant Changes First Version IV Document Distribution Copy No. Recipient Media/Location V Document Control Information Prepared By Verified By Approved By

Purpose of RLU
Design a report by defining it on the display, saving it as DDS source, and creating a printer file. Create a prototype of a report by printing the report design at any time to make sure that the reports looks the way you want.

Starting RLU
Type STRRLU and then Press F4.

Enter the source Physical file Name, Library Name and the RLU(Printer file) name you are going to create. You can also specify the Page width.By default it remains as 132.

RLU Parts
Command Line
S E Q U E N C E L I N E

To Create A Record Format


Type DR on the Sequence Line to Create a Record.

If you want More than One Line to be a Record then use DRR at starting Line Number and End Line Number. Use F18 and Then F10 to Rename the Record Format.

Creating a Constant on Screen


Type some Text and then use DC on the Sequence Line to Create a constant. Some of the Default Constant Key words are as. 1. *DATE 2. *TIME 3. *PAGNBR 4. *DATESYS

Creating a Variable
Press F11 and type the name of the field Length and Field Type and Press Enter (Length of data prompt: 1 to 378 for an alphanumeric field 1 to 31 for a numeric field ) You can also Use DF for Defining a Field To View/Change the attributes of the field put the cursor on the field and press F23 for Field Attributes.

Shifting of Data
Type CF on the Sequence Line to move the Data Center aligned. Type R(N) on Sequence Line to move the data right by N positions. Type L(N) on Sequence Line to move the data right by N Positions. Type LT(N) to shift and truncate data on the Left side if crossing the Boundaries

Type RT(N) to shift and truncate data on the Right Side if crossing the Boundaries

Adding Database fields to RLU


Press F10 and select the Database and field you want on report. Type VF on the Sequence Line to get a Variable Field Line. Type 1 or 1c for first field 2 or 2c for second field and so on in the FLD line. C stands for Field Heading and it will be placed in another record format.

Adding Sample Data Fields


Use SD on Sequence Number to Add Sample Data Fields.

Some Sequence Line Commands


A _ After a Particular Line B _ Before that Line C _ Copy a Line D _ Delete a Line M _ Move a Line O _ Overlay the Line with a Moved RP _ To repeat

Important Function Keys


F4 (Work With Field) F6 Conditional Display F9 (Retrieve) F10 (Select DataBase) F13 (Select a Field) F14 (Copy Fields) F15 (Move Fields) F16 (Delete Field)

F19 (Left) F20 (Right)

Important Field Keywords


EDTCDE (Edit Code) EDTWRD (Edit Word) SKIPA (Skip After) SKIPB (Skip Before) SPACEA (Space After) SPACEB (Space Before) UNDERLINE (UnderLine) HIGHLIGHT (HighLight) CPI (Characters Per Inch)

Command Line Commands


Find Change Set Top Bottom File Save

Hide

Some Limitations
Some attributes specified are not reflected at the time of generation of Spool File. For E.g; Bold /Under Line specified on any field or line does not get reflected in Spool file. The entire field is dropped if the field is outside the report width boundaries. More than one record format on the same line.

Thanks