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 / renjith
When you call pgm B send a parameter also which contains
the name pgm A. so in report for the name of pgm A you can
move the parameter value.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
are there any useful c runtime apis that I can call from rpg iv?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
How many program bind in one module....
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
how do you use commitment control in rpg?
Explain mdt?
How to call one program from another program in RPG? please help me with the code
What is difference between bind by copy and bind by reference?
How can we know running job is batch or interactive?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
how can I tell when to replace the array?
How to handle duplicate error handling in RPG?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what is *place and *auto keyword in prtf ?plz explain