Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Any idea why I am getting 'Invalid label' errors.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
Charles Pillai

New User


Joined: 23 May 2008
Posts: 6
Location: Canberra, Australia

PostPosted: Tue May 27, 2008 5:51 am    Post subject: Reply to: Split a file in 5 files containing equal number of
Reply with quote

Any idea why I am getting 'Invalid label' errors.

9 //SORTIN DD DSN=UB9IN.ICP.EXTRTXP.RELA.DATATA,DISP=OLD
10 //01 DD DSN=UB9IN.ICP.EXTRTXP.RELA.DATAC01,DISP=MOD
11 //02 DD DSN=UB9IN.ICP.EXTRTXP.RELA.DATAC02,DISP=MOD
12 //SYSIN DD *
//*
STMT NO. MESSAGE
10 IEFC662I INVALID LABEL
11 IEFC662I INVALID LABEL
Back to top
View user's profile Send private message
References
PostPosted: Tue May 27, 2008 5:51 am    Post subject: Re: Reply to: Split a file in 5 files containing equal number of Reply with quote

Splitted: Tue May 27, 2008 6:05 am by dick scherrer From Topic Split a file in 5 files containing equal number of records (DFSORT/ICETOOL)
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 7453
Location: 221 B Baker St

PostPosted: Tue May 27, 2008 6:08 am    Post subject:
Reply with quote

Hello Charles and welcome to the forums,

When you have a question, please start a new topic for your question.

Your problem is jcl rather than a sort problem, so i'll move your topic to the jcl part of the forum.

Your problem is because of the numeric DDnames 10 and 11. DDnames may not begin with a numeral.
Back to top
View user's profile Send private message
Moved: Tue May 27, 2008 6:08 am by dick scherrer From DFSORT/ICETOOL to JCL
Charles Pillai

New User


Joined: 23 May 2008
Posts: 6
Location: Canberra, Australia

PostPosted: Tue May 27, 2008 6:16 am    Post subject:
Reply with quote

I changed 01 and 02 to Out01 and OUT02 respectively and the errors were no more - thanks.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 7453
Location: 221 B Baker St

PostPosted: Tue May 27, 2008 6:20 am    Post subject: Reply to: Any idea why I am getting 'Invalid label' errors.
Reply with quote

You're welcome icon_smile.gif

d
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1