|
|
| Author |
Message |
skhorizon
New User
Joined: 14 May 2008 Posts: 10 Location: bangalore
|
|
|
|
Actually i wanted to run the whole STEP from a proc . But when i am running through proc it is giving JCL error saying INVALID JCL STATEMENT for all below mentiioned lines .
//TOOLIN DD *
COPY FROM(IN2) TO(T1) USING(CTL1)
COPY FROM(IN1) TO(T1) USING(CTL2)
SPLICE FROM(T1) TO(OUT) ON(5,3,CH) KEEPNODUPS KEEPBASE -
WITHALL WITH(5,15) WITH(20,1) USING(CTL3)
/*
//CTL1CNTL DD *
INREC BUILD=(1:8,4,5:5,3,20:C'BB')
/*
//CTL2CNTL DD *
INREC BUILD=(5:1,15,20:C'VV')
/*
//CTL3CNTL DD *
OUTFIL FNAMES=OUT,OMIT=(20,2,CH,EQ,C'BB'),
BUILD=(1,19)
And same thing running through job , is running successfully .
So i wanted in whole step running through proc . |
|
| Back to top |
|
 |
References
|
|
 |
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 1218 Location: At my desk
|
|
| Back to top |
|
 |
skhorizon
New User
Joined: 14 May 2008 Posts: 10 Location: bangalore
|
|
|
|
Instead of giving it as //TOOLIN DD * ,i have written as
//TOOLIN DD DSN=FIRR036.DEVTST.UTILOPC(TOOL1),DISP=SHR
//CTL1CNTL DD DSN=FIRR036.DEVTST.UTILOPC(TOOL2),DISP=SHR
//CTL2CNTL DD DSN=FIRR036.DEVTST.UTILOPC(TOOL3),DISP=SHR
//CTL3CNTL DD DSN=FIRR036.DEVTST.UTILOPC(TOOL4),DISP=SHR
//*
but still the JOB is failing with RC =16 :
ICE632I 0 SOURCE FOR ICETOOL STATEMENTS: TOOLIN
ICE630I 0 MODE IN EFFECT: STOP
COPY FROM(IN2) TO(T1) USING(CTL1)
ICE606I 0 DFSORT CALL 0001 FOR COPY FROM IN2 TO T1 USING CTL1CNTL TERMINATED
ICE602I 0 OPERATION RETURN CODE: 16 |
|
| Back to top |
|
 |
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1027 Location: Virginia, USA
|
|
|
|
| skhorizon wrote: |
Instead of giving it as //TOOLIN DD * ,i have written as
//TOOLIN DD DSN=FIRR036.DEVTST.UTILOPC(TOOL1),DISP=SHR
//CTL1CNTL DD DSN=FIRR036.DEVTST.UTILOPC(TOOL2),DISP=SHR
//CTL2CNTL DD DSN=FIRR036.DEVTST.UTILOPC(TOOL3),DISP=SHR
//CTL3CNTL DD DSN=FIRR036.DEVTST.UTILOPC(TOOL4),DISP=SHR
|
Do those members exist in that PDS and what do they contain? |
|
| Back to top |
|
 |
skhorizon
New User
Joined: 14 May 2008 Posts: 10 Location: bangalore
|
|
|
|
All those members(tool1,tool2,tool3,tool4) exist ...
these all contains control statements defined under it as in above jcls |
|
| Back to top |
|
 |
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1027 Location: Virginia, USA
|
|
|
|
| Show us the job logs, sysout etc from the failing job. |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Moderator
Joined: 15 Feb 2005 Posts: 4675 Location: San Jose, CA
|
|
|
|
| Quote: |
| but still the JOB is failing with RC =16 : |
You need to look at the DFSMSG messages for the error message associated with the RC=16. |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 9184 Location: 221 B Baker St
|
|
|
|
Hello,
One or more of the control statements most likely begins in position 1 (just like the examples posted above). |
|
| Back to top |
|
 |
|
|