IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL error: EXPECTED CONTINUATION NOT RECEIVED


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 46
Location: mumbai

PostPosted: Tue Apr 24, 2007 1:59 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 24, 2007 2:15 am
Reply with quote

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
View user's profile Send private message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 46
Location: mumbai

PostPosted: Tue Apr 24, 2007 2:39 am
Reply with quote

Thanks Dick For your reply
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Apr 24, 2007 3:38 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 24, 2007 3:45 am
Reply with quote

You're welcome icon_smile.gif

Do you have an answer for your request or do questions remain?
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue Apr 24, 2007 5:25 pm
Reply with quote

UNIT starts in col=17, but must be in 16 or less.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 24, 2007 7:41 pm
Reply with quote

Good catch icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 24, 2007 11:52 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Apr 25, 2007 12:29 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 25, 2007 7:34 pm
Reply with quote

Yup, that's why i mentioned the non-sms environment icon_smile.gif
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Apr 26, 2007 1:01 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top