Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL error: EXPECTED CONTINUATION NOT RECEIVED

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 47
Location: mumbai

PostPosted: Tue Apr 24, 2007 1:59 am    Post subject: JCL error: EXPECTED CONTINUATION NOT RECEIVED
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

Site Director


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

PostPosted: Tue Apr 24, 2007 2:15 am    Post subject:
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: 47
Location: mumbai

PostPosted: Tue Apr 24, 2007 2:39 am    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Tue Apr 24, 2007 3:38 am    Post subject:
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

Site Director


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

PostPosted: Tue Apr 24, 2007 3:45 am    Post subject:
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

Active Member


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

PostPosted: Tue Apr 24, 2007 5:25 pm    Post subject:
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

Site Director


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

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

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

Site Director


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

PostPosted: Tue Apr 24, 2007 11:52 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Apr 25, 2007 12:29 pm    Post subject:
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

Site Director


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

PostPosted: Wed Apr 25, 2007 7:34 pm    Post subject:
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

Active Member


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

PostPosted: Thu Apr 26, 2007 1:01 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us