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 |
IN RLU what are the record level keyword is used?
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
How to print Superscript / Subscript from RPG400
1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?
1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?
What are different ways to pass data between programs and which one is the efficient way?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.
Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?
what is edit word and edit code
Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output