if i have three programs progA,progB and progC .now i call
progB from progA. but the progB does not exist . now i want
to call progC instead of starting dump. how can we achieve
this.
Answer Posted / cagatay azkin
In ILE environment, when you call programB, define call with
(E) and set the indicators (position 73 and 74 I guess)
Later on, use some %built-in functions such as $error and
%status to check.
If there is an error, you can take an action in*PSSR error
subroutine or by checking the indicator in calc spec to
whatever you want.(in this case, you need to define it in INFSR)
For more detail, you can refer ibm's ile rpg reference book.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
How many program bind in one module....
Explain mdt?
What is a record lock error?
How to declare the pull button in AS/400..
what are the key words you must use when using a subfile?
what is the difference between do while and do until?
How to select highest score of each subject or how to select highest income of every month?
What is the purpose of record level identifier?
What is file identifier where we can use?
what is the rpg system?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
how do I preserve and clean the array?
How would display prime numbers using CL program?
What is ment by record level identifier?