JCL - IEFC621I EXPECTED CONTINUATION NOT RECEIVED

JES2/3, JCL, utilities.
Post Reply
User avatar
zRik
New Member
Posts: 4
Joined: Tue May 14, 2019 5:57 pm

JCL - IEFC621I EXPECTED CONTINUATION NOT RECEIVED

Post by zRik »

Hi!
I am receiving a 'IEFC621I EXPECTED CONTINUATION NOT RECEIVED' message when I run a small job in order to copy an HFS file to a PDS member. The HFS path is quite long, so I tried to wrap it on two rows in the //IN -statement in my JCL, but still no luck. After that I got the 'IEFC006I POSITIONAL PARAMETERS MUST BE SPECIFIED BEFORE KEYWORD PARAMETERS' message.
Any advice? Shortening the HFS path isn't really an option.

Code: Select all

2 //COPYFILE EXEC PGM=IKJEFT01                                             
3 //IN DD PATH='/myhfs/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/bind.properties' 
4 //OUT DD DISP=SHR,DSN=MYPDS(BINDPROP)                             
5 //SYSTSPRT DD SYSOUT=*                                                   
6 //SYSTSIN DD *                                                           

3 IEFC621I EXPECTED CONTINUATION NOT RECEIVED  


2 //COPYFILE EXEC PGM=IKJEFT01                                          
3//IN       DD PATH=,                                                  
  //         '/myhfs/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/bind.properties'
4 //OUT      DD DISP=SHR,DSN=MYPDS(BINDPROP)                     
5 //SYSTSPRT DD SYSOUT=*                                                
6 //SYSTSIN DD *                                                        

3 IEFC006I POSITIONAL PARAMETERS MUST BE SPECIFIED BEFORE KEYWORD PARAMETERS
zRik
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: JCL - IEFC621I EXPECTED CONTINUATION NOT RECEIVED

Post by Robert Sample »

Pages 219 and 17 of the MVS JCL Reference manual at https://www-01.ibm.com/servers/resource ... 0_v2r3.pdf give you the syntax to continue a PATH to the next line. Note carefully the requirement on page 17 that the continuation of a parameter in single quotes start in column 16 on the continuation line. So you continue the PATH through to column 71 (put a continuation character in column 72), then on the next line put // and the continuation in column 16 (WITHOUT a leading single quote mark).
User avatar
zRik
New Member
Posts: 4
Joined: Tue May 14, 2019 5:57 pm

Re: JCL - IEFC621I EXPECTED CONTINUATION NOT RECEIVED

Post by zRik »

Thank you! I read somewhere that the continuation had to start before col 16. Will take a closer look in that manual.
zRik
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: JCL - IEFC621I EXPECTED CONTINUATION NOT RECEIVED

Post by Robert Sample »

So long as the continued line is NOT part of text in single quotes, the continuation can start anywhere from columns 4 to 16. However, a continued line in single quote marks MUST start in column 16 of the continuation line.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”