Difference between creating a report using Printer file and
WRKQRY(Query Report) ?

Answers were Sorted based on User's Feedback



Difference between creating a report using Printer file and WRKQRY(Query Report) ?..

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

Difference between creating a report using Printer file and WRKQRY(Query Report) ?..

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

Difference between creating a report using Printer file and WRKQRY(Query Report) ?..

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

Post New Answer

More RPG400 Interview Questions

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.

0 Answers   TCS,


1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.

2 Answers  


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

0 Answers  


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

0 Answers  


suppose if we want to update the data in cl what we will do?

9 Answers  






can I touch the array during treatments?

0 Answers   IBM,


how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 Answers  


Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any

2 Answers   Satyam,


Hi, Can anybody give me real sinario for SFLRCDNBR?with example?

2 Answers  


how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .

2 Answers  


in which journalling which attributes are necessary??/

1 Answers   CTS,


what is the rpg system?

0 Answers   IBM,


Categories