View previous topic :: View next topic
|
Author |
Message |
ybhavesh Warnings : 1 New User
Joined: 17 Feb 2007 Posts: 46 Location: mumbai
|
|
|
|
Hi All
Can any one solve this error
JCL
Code:
Code: |
1 //BACKSTEP JOB 'BACKSTEP',NOTIFY=&SYSUID,CLASS=X,MSGCLASS=Y,
// MSGLEVEL=(1,1)
IEFC653I SUBSTITUTION JCL - 'BACKSTEP',NOTIFY=BCB1O,CLASS=X,MSGCLASS=Y
2 //STEP1 EXEC PGM=IEFBR14
3 //SYSPRINT DD SYSOUT=*
4 //ALLOCATE DD DSN=OSOP.BCB1O.ALLOC,DISP=(NEW,CATLG,DELETE),
// UNIT=3390,VOL=SER=WRK501,SPACE=(TRK,(2,2)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
5 //SYSOUT DD SYSOUT=*
6 //STEP2 EXEC PGM=IEFBR14
7 //DELETE DD DSN=*.STEP1.ALLOCATE,DISP=(OLD,DELETE),
// UNIT=3390,VOL=SER=WRK501
8 //SYSOUT DD SYSOUT=*
9 //STEP3 EXEC PGM=IEFBR14
10 //UNCATLG DD DSN=*.STEP2.DELETE,DISP=(OLD,UNCATLG),
11 // UNIT=3390,VOL=SER=WRK501
12 //SYSOUT DD SYSOUT=* |
JESYSMSG
STMT NO. MESSAGE
10 IEFC621I EXPECTED CONTINUATION NOT RECEIVED
11 IEFC605I UNIDENTIFIED OPERATION FIELD |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
The jcl you've submitted cannot work - step3 will always fail - you cannot "uncatlg" something you've previously deleted. You should also not "uncatlg" dasd datasets.
My guess as to your "expected continuation" error is that you've confused the system. Notice that lines 10 and 11 should not have separate line numbers (refer to line 7 in the previous step).
What are you trying to accomplish? If you have a requirement, we can offer suggestions, but the 3 steps you've posted should not find their way into a "real" job. . . |
|
Back to top |
|
|
ybhavesh Warnings : 1 New User
Joined: 17 Feb 2007 Posts: 46 Location: mumbai
|
|
|
|
Thanks Dick For your reply |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
I do not know why your code is shifted and I can't find the JCL rule I thought was there, but possibly removing a space between the "//" and the "UNIT" might help.... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome
Do you have an answer for your request or do questions remain? |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
UNIT starts in col=17, but must be in 16 or less. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good catch |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I suppose the 3 steps might work in a non-sms environment. . .
The posted jcl for step2 would leave a dataset in the catalog, but not on disk because the VOLSER was specified in the DD of step2.
Step3 could then remove the entry from the catalog.
For my $.02, steps 2&3 should never be run this way. For the most part, VOLSER should not be used for dasd files. Specifying them just begs for problems. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Dick, for an SMS environment,
Unless the dataset is allocated a Guaranteed Space STORCLAS, the volser request will be ignored and the dataset will be allocated on any available volume within the STORGRP defined in the ACS routines.
The same should also be true of the step that deletes the dataset.
The DISP=(OLD,DELETE) will also uncatalogue the dataset too, so no need for step 3. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Yup, that's why i mentioned the non-sms environment |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Quote: |
when i DCB parameter in the STEP3 it was working fine.where the unit parameter was on 17th column then also it was working
|
What does this mean? Your STEP3 does not have a DCB parm. Please post your presumably new JCL with UNIT starting in col=17. (Of course, if you have something before UNIT, then that's OK.) |
|
Back to top |
|
|
|