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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
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

dick scherrer

Site Director


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

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
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

Site Director


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

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
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 INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts DB2 SQL help/idea/suggestion bshkris DB2 4 Thu Oct 06, 2016 3:04 pm
No new posts IEF645I INVALID REFERBACK IN THE RC ... abdulrafi JCL & VSAM 2 Mon Aug 29, 2016 10:57 am
No new posts Several errors during building altern... Andi1982 JCL & VSAM 11 Wed Jul 06, 2016 7:39 pm
No new posts Invalid frequency code, dataset descr... Bhanu Praveen JCL & VSAM 4 Fri Feb 05, 2016 10:43 am


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