Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
11Activity
0 of .
Results for:
No results containing your search query
P. 1
as400 rlu

as400 rlu

Ratings: (0)|Views: 1,605|Likes:
Published by chandu_as400

More info:

Published by: chandu_as400 on Apr 11, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

12/25/2013

pdf

text

original

 
 
Chowdary S Page 1
RLU
Steps to follow:
1. Start RLU2. Define a record format3. Define a constant field4. Center the report title5. Add database fields to a report6. Create a field line7. Create sample data for a report8. Save the report design and create a printer file9. Print the report
Starting RLU:
To start an RLU session, do the following:1. Type STRRLU on the command line on the AS/400 Main Menu.2. Press F4 (Prompt)(A) to see the parameters for the STRRLU command. TheStart Report Layout Utility (STRRLU) display appears.3. Type QDDSSRC in the Source file prompt, CHOWDARY1 in the Library prompt, RLU123 inthe Source member prompt,80 in the Page width prompt, and press Enter.The Load RLU Work Space display indicates that the contents of the sourcemember are being loaded into the work space. If loading occurs quickly youmay not see the display. The Design Report display appears on which youdefine the report design.
 
 
Chowdary S Page 2
Defining a Record Format:
To define a record format:1
. Type a report title on the first blank line of the Design Report display, as shown in the following display,and press Enter. The line containing text shows a sequence number in the sequence number area.
'''''''
 
2. To define this line as a single-line record format, type DR beside the report titlein the sequence number area of the Design Report display, as shown in thefollowing display, and press Enter:The name of the record format appears in the sequence number area of the line. The naming conventionRLU uses for record format names is RCDnnn, where nnn is a 3-digit number beginning with 001 for thefirst record format you create in your edit session. The 3-digit number is increased by one for eachsubsequent record format created.
 
 
Chowdary S Page 3
Defining a Constant Field:
To define the report title as a constant field using the Define Constant (DC) command, type DC besidethe report title in the sequence number area, and press Enter. A message indicating that an unnamed(constant) field is created in the record format and a field line appears immediately above the field youjust created.
Centering the Report Title:
To center the report title by using the Center Field (CF) line command, type CF beside the report title inthe sequence number area on the Design Report display, as shown in the following display, and pressEnter. The field is centered relative to the report page width you specified when you started RLU, and thisnew position appears in the definition.
A
dding Database Fields to a Report:
N
ow that your report design has a title field, the next step is to add some fields by referencing a databasefile. To add the next five fields to your report, use the source physical file CUSDATA in library QPDA. Thisfile contains fields for a customer report and is shipped with Application Development ToolSet for AS/400.To add the EMPADD , EMP
N
AME, EMP
N
UM and EMPPH to your report:1. Press F10 (Database fields)(B). The Work with Database Fields display appears.2. Select option 1 (Add field) in the Option prompt, and type QPDA in the Library prompt, SIMEMPPF inthe File prompt, EMPRCD in the Record prompt, and press Enter. The Select Database Fields displayappears showing the fields available for selection into your report.3. To select the EMPADD , EMP
N
AME, EMP
N
UM and EMPPH for your report, type option 1 (Select) inthe Opt column next to each field, and press Enter. The field
N
AME is on the next page of the display.The selected fields are identified by the > symbol to the left of the field name.4. Press Enter again. The Work with Database Fields display is shown with a list of the selected fields.5. Press Enter again to return to the Design Report display. The selected database fields appear at thebottom of the display.6. To show the selected database fields on your report design, create a second record using the Insert (I)line command. Type I2 in the sequence number area beside the report title, and press Enter. Two newblank lines are added. The first blank line remains as a filler line.7. To define the second record, type DR in the first position of the second blank line, and press Enter. Thesecond record is defined.
Creating a Field Line:
To create a field line using the View Field (VF) line command:1. Type VF in the sequence number area of the second record, and press Enter. The FLD1 field lineappears, which is used to add the selected database fields to your report design. The fields are placed onthe FLD1 field line in the order that you want them to appear on the report.

Activity (11)

You've already reviewed this. Edit your review.
alovana liked this
1 thousand reads
1 hundred reads
manoj0627 added this note
THANKS A LOT,....GOOD PRESENTAION
Karunakar Chowdary added this note
you have done a great job ,my dear friend ...................
Anu Venky liked this
anuppdas liked this
kkkk11101 liked this
anuppdas liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->