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
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 difference between bind by copy and bind by reference?
How would display prime numbers using CL program?
how do you use commitment control in rpg?
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...?
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 define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
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?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
How to handle duplicate error handling in RPG?
what are the key words you must use when using a subfile?
how do I declare a table or array in rpg iv?
How can we know running job is batch or interactive?
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?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?