The PGMA calls PGMB.PGMB generates a report.The report
should contain the called program name(PGMA).How do i get
the called program name in PGMB to print it on the spool
file?(calling program name should NOT be hard coded or
passed as parameter to called program?
Answer Posted / harshad
Update LDA with PGMA & retrieve the same in PGMB for
printing.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
what is kids-rpg?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
What is ment by record level identifier?
what is the difference between do while and do until?
what is *place and *auto keyword in prtf ?plz explain
What is the difference between copybooks and subprocedures in as400?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
How Chain operation copies the record's data to the input buffer for the program?
what is the necessary keyword needed to scroll subfile records?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
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...