Page 1 of 1

Why there is 'Invalid label' error?

Posted: Wed Dec 03, 2014 3:41 pm
by Raj Mainframe
HI,

I've a JOb coded like this, but this gives an error:

Code: Select all

19 //INFILE DD DSN=ABCDIN.XYZ.DATA,DISP=OLD 
20 //01 DD DSN=ABCD.SOME.FILE1,DISP=MOD 
21 //02 DD DSN=ABCD.SOME.FILE2,DISP=MOD 
22 //SYSIN DD * 
//* 
STMT NO. MESSAGE 
20 IEFC662I INVALID LABEL 
21 IEFC662I INVALID LABEL
Can someone please guide why is the error coming?

Re: Why there is 'Invalid label' error?

Posted: Wed Dec 03, 2014 4:07 pm
by enrico-sorichetti
because the label/name You used do not follow the rules
read and meditate on the manuals JCL GUIDE and JCL REFERENCE

reachable starting from ...

http://www-03.ibm.com/systems/z/os/zos/ ... index.html

Re: Why there is 'Invalid label' error?

Posted: Thu Dec 04, 2014 8:47 am
by Arun Mani
I think, you should try changing the DD names, you've them all numeric.