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 |
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
steps for debugging two rpg programs????
How can a screen field that has changed since the last output operation be detected?
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm
can i use UPDDTA command in rpg program in which contains a file
As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks
Can we possible to key with the date field?
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
what is a rpg?
How to print output from openquery in as400 ?
can we use cl programming to update or delete physical files