Good day
We have the following set up, but it will run successful for a few times, then suddely abend, but run successful again on a retry. It is not time related as we eliminated it already. Is there something we miss in the below?
On an abend I can see the following two things:
1. SEL STAT WHERE (STARTT = (01/09/2012,05:22:02) STOPT = (01/09/2012,05:42:35) CCODE = (NE,0) PNUM = 46919 TYPE = (CT RT RJ PT)) FILE.
2. SCIB022I CACS2LAW (00046919) STEP3 00000001/XSMG402I
SCIB022I CACS2LAW (00046919) 00000001/SVTM100I
The SVTM100I error is regarding TCQ deletion and I think it might be the problem, but I do not know how to fix it..
CACS2LAW PROCESS
SYMBOL &OFILE=\'\ ||
&TODSN || _ || &DATE ||
\'\
*
SYMBOL &RUN1=\'\scp -p || \ \ || / ||
&DIRA || / || &DIRB || / ||
&DIRC || / || &DIRD || / || &DIRE || / || &TODSN || _ ||
&DATE || \ \ ||
&VAR1 || / || &DIR1 || / || &DIR2 || / || &TODSN || _ ||
&DATE ||
\'\
*
SYMBOL &RUN2=\'\ssh || \ \ ||
&VAR2 || \ \ || / || &DIR1 || / || &DIR2 || / ||
&SCRPT || \ \ || &TODSN || _ || &DATE ||
\'\
*
STEP1 COPY FROM (DSN=&FRDSN DISP=&FRDISP)
&COMP
TO (DSN=&OFILE DISP=&TODISP
SYSOPTS=":datatype=text:")
*
IF (STEP1 > 0) THEN
GOTO STEP4
ELSE
*
STEP2 RUN TASK SNODE (PGM=UNIX)
SYSOPTS=&RUN1
*
STEP3 RUN TASK SNODE (PGM=UNIX)
SYSOPTS=&RUN2
EIF
*
IF (STEP1 GT 0) THEN
STEP4 RUN TASK PNODE (PGM=DMNOTIFY,PARM=(CL4'FAIL','&FRDSN'))
EIF
Thanks