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 |
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.
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
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...
suppose if we want to update the data in cl what we will do?
can I touch the array during treatments?
how can i retrieve the field name from display file at run time? Devendra Singh Tomar
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
Hi, Can anybody give me real sinario for SFLRCDNBR?with example?
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 .
in which journalling which attributes are necessary??/
what is the rpg system?