I have a CLLE program which I submit which calls various other programs. My problem is if one of these programs fails the whole job is cancelled. How can I make it go into MSGW with CDIR?
Here is an example from last night DSPLOG. All the programs are CLLE. The first program failed with CPYF ended in error and then the other programs in the stack automatically cancelled ultimately ending my C50SAVACT job.. How to I fix this? Is it a problem with the programs or how it is submitted?
CPF2817 received by procedure SDCJD. (C D I R)
CPF2817 received by procedure SDCJD. (C D I R)
C
CEE9901 received by procedure SDCJREC. (C D I R)
CEE9901 received by procedure SDCJREC. (C D I R)
C
CEE9901 received by procedure C50SAVACT. (C D I R)
CEE9901 received by procedure C50SAVACT. (C D I R)
C
Job 782705/MYOUNUS/C50SAVACT ended on 13/01/14 at 02:15:06; 445.212 seconds u
Here is an example from last night DSPLOG. All the programs are CLLE. The first program failed with CPYF ended in error and then the other programs in the stack automatically cancelled ultimately ending my C50SAVACT job.. How to I fix this? Is it a problem with the programs or how it is submitted?
CPF2817 received by procedure SDCJD. (C D I R)
CPF2817 received by procedure SDCJD. (C D I R)
C
CEE9901 received by procedure SDCJREC. (C D I R)
CEE9901 received by procedure SDCJREC. (C D I R)
C
CEE9901 received by procedure C50SAVACT. (C D I R)
CEE9901 received by procedure C50SAVACT. (C D I R)
C
Job 782705/MYOUNUS/C50SAVACT ended on 13/01/14 at 02:15:06; 445.212 seconds u
Code:
Additional Message Information
Message ID . . . . . . : CPA0702
Date sent . . . . . . : 13/01/14 Time sent . . . . . . : 02:15:05
Message . . . . : CPF2817 received by procedure SDCJD. (C D I R)
Cause . . . . . : ILE Control language (CL) procedure SDCJD in module SDCJD
in program SDCJD in library BAJUSRLIB detected an error at statement number
0000002600. Message text for CPF2817 is: Copy command ended because of
error. Use F10 (if available) or the Display Job Log (DSPJOBLOG) command
to see the messages in the job log for a more complete description of what
caused the error. If you still are unable to solve the problem, please
contact your technical support person.
Recovery . . . : This inquiry message can be avoided by changing the
procedure. Monitor for the error (MONMSG command) and perform error
recovery within the procedure. To continue, choose a reply value.
Possible choices for replying to message . . . . . . . . . . . . . . . :
More...
Press Enter to continue.
F1=Help F3=Exit F6=Print F9=Display message details F12=Cancel
F21=Select assistance level
Additional Message Information
Message ID . . . . . . : CPA0702
Date sent . . . . . . : 13/01/14 Time sent . . . . . . : 02:15:05
Message . . . . : CEE9901 received by procedure SDCJREC. (C D I R)
Cause . . . . . : ILE Control language (CL) procedure SDCJREC in module
SDCJREC in program SDCJREC in library BAJUSRLIB detected an error at
statement number 0000002000. Message text for CEE9901 is: Application
error. CPF2817 unmonitored by SDCJD at statement 0000002600, instruction
X'0000'. Use F10 (if available) or the Display Job Log (DSPJOBLOG) command
to see the messages in the job log for a more complete description of what
caused the error. If you still are unable to solve the problem, please
contact your technical support person.
Recovery . . . : This inquiry message can be avoided by changing the
procedure. Monitor for the error (MONMSG command) and perform error
recovery within the procedure. To continue, choose a reply value.
More...
Press Enter to continue.
F1=Help F3=Exit F6=Print F9=Display message details F12=Cancel
F21=Select assistance level
Additional Message Information
Message ID . . . . . . : CPA0702
Date sent . . . . . . : 13/01/14 Time sent . . . . . . : 02:15:05
Message . . . . : CEE9901 received by procedure C50SAVACT. (C D I R)
Cause . . . . . : ILE Control language (CL) procedure C50SAVACT in module
C50SAVACT in program C50SAVACT in library KLIBTRE detected an error at
statement number 0000017500. Message text for CEE9901 is: Application
error. CEE9901 unmonitored by SDCJREC at statement 0000002000, instruction
X'0000'. Use F10 (if available) or the Display Job Log (DSPJOBLOG) command
to see the messages in the job log for a more complete description of what
caused the error. If you still are unable to solve the problem, please
contact your technical support person.
Recovery . . . : This inquiry message can be avoided by changing the
procedure. Monitor for the error (MONMSG command) and perform error
recovery within the procedure. To continue, choose a reply value.
More...
Press Enter to continue.
F1=Help F3=Exit F6=Print F9=Display message details F12=Cancel
F21=Select assistance level
Additional Message Information
Message ID . . . . . . : CPF1164
Date sent . . . . . . : 13/01/14 Time sent . . . . . . : 02:15:06
Message . . . . : Job 782705/MYOUNUS/C50SAVACT ended on 13/01/14 at
02:15:06; 445.212 seconds used; end code 20
X.
Cause . . . . . : Job 782705/MYOUNUS/C50SAVACT completed on 13/01/14 at
02:15:06 after it used 445.212 seconds processing unit time. The job had
ending code 20. The job ended after 1 routing steps with a secondary ending
code of 0. The job ending codes and their meanings are as follows:
0 - The job completed normally.
10 - The job completed normally during controlled ending or controlled
subsystem ending.
20 - The job exceeded end severity (ENDSEV job attribute).
More...
Press Enter to continue.
F1=Help F3=Exit F6=Print F9=Display message details F12=Cancel
F21=Select assistance level
Message ID . . . . . . . . . : CPA0702
Message file . . . . . . . . : QCPFMSG
Library . . . . . . . . . : QSYS
Severity . . . . . . . . . . : 99
Job description: QBATCH Library: KLIBTRE
User profile . . . . . . . . . . . . . . . . . . : *RQD
CL syntax check . . . . . . . . . . . . . . . . : *NOCHK
Hold on job queue . . . . . . . . . . . . . . . : *NO
End severity . . . . . . . . . . . . . . . . . . : 30





Comment