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 / sreedhar reddy
Retrieve Call Stack (QWVRCSTK) API will do it.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to declare the pull button in AS/400..
what is program status data structure?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
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.
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...
how do I declare a table or array in rpg iv?
What is the difference between copybooks and subprocedures in as400?
How to select highest score of each subject or how to select highest income of every month?
What is a record lock error?
what is the difference between do while and do until?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what are the key words you must use when using a subfile?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
what was the robotech rpg?
how do I play {insert rpg system here}?