In ProgramB there is a SBMJOB, which is a call to program C
.There is also a CALL to program D from B. How would you
check the program C has been executed in D?
Answer Posted / david lex
On submission of program C, collect the job information.
Pass it to program D/load it in a data file/etc, then have
program D check the status of that job using a CL command
or an API.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
are there any useful c runtime apis that I can call from rpg iv?
can you debug ile rpg program using isdb?
what is kids-rpg?
what is the use of sflnxtchg?
How would display prime numbers using CL program?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
When it is desirable to describe files Internally?
How Chain operation copies the record's data to the input buffer for the program?
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...
can I touch the array during treatments?
What is the purpose of record level identifier?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?