- 论坛徽章:
- 0
|
回复 #1 adam_0_0_0 的帖子
I am confused with your question:
The message that system return you should turn down your job, how can you still proceed your aa logical?
So please clarify your message first.
For CMD MONMSG:
Action A
MONMSG(CPF0000) EXEC(GO TO aa)
MONMSG(CPF0001)
CALL PGM(C1)
aa: CALL PGM(C2)
------------------------
if CPF0000 catched, then go to logical aa to CALL PGM(C2)
if CPF0001 catched, then do nothing to perform CALL PGM(C1) according to program original sequence
if CPF0003 catched, and this exception msg you not defined before to catch, then system break down.
so in order to avoid system break down, you can define exception msg like
MONMSG(CPF0000 XXX0000) sorry that I forget the exact msg name, which means catch all exception msg,
then write a simple logical to feed back the error, such as 'unexpected error occur' |
|