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
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
How to write record if no field or the field are different in physical file in rpgle ?
how do I declare a table or array in rpg iv?
How Chain operation copies the record's data to the input buffer for the program?
what is an online rpg?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
What is the difference between iter and do?
What is file identifier where we can use?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
How to call one program from another program in RPG? please help me with the code
can you debug ile rpg program using isdb?
what do you mean by an input subfile, what are the keywords required?
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