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 / shantanu kumar dutta
Dear,
You can handle like that .check an object existance by
CHKOBJ like, If Object dose not exist than it through
MonMsg CPF9801,CPF9810 by this we can handle the
situations.
Eq->
CHKOBJ OBJ(&FLTLIBNM/PgmB) OBJTYPE(*PGM)
MONMSG MSGID(CPF9801 CPF9810) EXEC(GOTO CMDLBL(Call
PgmC))
| Is This Answer Correct ? | 20 Yes | 0 No |
Post New Answer View All Answers
what do you mean by an input subfile, what are the keywords required?
What is the purpose of record level identifier?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
Explain mdt?
how do I preserve and clean the array?
what is an online rpg?
How to select highest score of each subject or how to select highest income of every month?
how do you use commitment control in rpg?
How can we know running job is batch or interactive?
what is the rpg system?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
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...?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
how can you display specific subfile page on the screen in unequal subfile?
can I touch the array during treatments?