Difference between creating a report using Printer file and
WRKQRY(Query Report) ?
Answers were Sorted based on User's Feedback
Answer / syam
Printer File we need to create in RLU and save it. Later
you can use same Printer file for another RPG or WRKQRY
programs.
WRKQRY Report only the same QRY program or copy the QRY to
another QRY and use it
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / sujatha
WRKQRY
advantage: can send output to database file without hassle
thereby enabling more research on the output.
disadvantage:
reports are not as user-friendly as column names and
subtotal lables are fixed.
calculations are not very extensive. (IF ELSE calculations
cannot be implemented)
no documentation is possible, making it difficult to reuse.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mansi walia
If you create a report with RLU then you can give the
header as per your need, where as in WRKQRY this option is
not available.
| Is This Answer Correct ? | 2 Yes | 0 No |
Can you copy the records created by the OPNQRYF to other files and how?
How to call one program from another program in RPG? please help me with the code
check existence of one record without using chain or read?
can i use UPDDTA command in rpg program in which contains a file
What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .
Delete FileName at first statement in RPG.
In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening
How to print output from openquery in as400 ?
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
what is the necessary command needed before OPNQRYF and why?