Page 1 of 1

JCL - IEFC621I EXPECTED CONTINUATION NOT RECEIVED

Posted: Tue May 14, 2019 6:17 pm
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

Re: JCL - IEFC621I EXPECTED CONTINUATION NOT RECEIVED

Posted: Tue May 14, 2019 6:59 pm
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).

Re: JCL - IEFC621I EXPECTED CONTINUATION NOT RECEIVED

Posted: Tue May 14, 2019 7:06 pm
by zRik
Thank you! I read somewhere that the continuation had to start before col 16. Will take a closer look in that manual.

Re: JCL - IEFC621I EXPECTED CONTINUATION NOT RECEIVED

Posted: Tue May 14, 2019 7:22 pm
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.