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 / swetha p rao
There is an API QWVRCSTK to find out the called program name
If we pass required parameters to the API we can find out
called program name.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
how do I declare a minor?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
how do I play {insert rpg system here}?
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?
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 is file information data structure?
can you debug ile rpg program using isdb?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
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...
What is difference between bind by copy and bind by reference?
what is the necessary keyword needed to scroll subfile records?
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 does the rpg element work?