IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Tue May 27, 2008 6:08 am
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
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

Moderator Emeritus


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

PostPosted: Tue May 27, 2008 6:20 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Invalid URL in Sticky topic TSO/ISPF 1
This topic is locked: you cannot edit posts or make replies. Internal Autonomous Stored Procedure ... DB2 6
No new posts Any idea about how to solve 3022 aben... IMS DB/DC 3
No new posts How to resolve SYNCH15! & SYNCH16... Compuware & Other Tools 0
Search our Forums:

Back to Top