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
 

 

JCl error INVALID KEYWORD OR CONTROL STATEMENT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 47
Location: mumbai

PostPosted: Fri Mar 23, 2007 12:00 am    Post subject: JCl error INVALID KEYWORD OR CONTROL STATEMENT
Reply with quote

Hi All

Can anyone solve this error

Code:
//RENAME JOB 'RENAME',NOTIFY=&SYSUID,CLASS=Y,MSGCLASS=X       
//STEP1 EXEC PGM=IEHPROGM                                     
//SYSPRINT DD SYSOUT=*                                       
//DISK DD UNIT=3390,VOL=SER=WORKY1,DISP=OLD                   
//SYSIN DD *                                                 
   RENAME DSNAME=OSOP.BCB1O.COMBINE,VOL=3390=WORKY1,         
   NEWNAME=OSOP.BCB1O.COMBO                                   
/*


JESYSMSG

********************************* TOP OF DATA ****************
SYSTEM SUPPORT UTILITIES ---- IEHPROGM

RENAME DSNAME=OSOP.BCB1O.COMBINE,VOL=3390=WORKY1,
IEH202I INVALID KEYWORD OR CONTROL STATEMENT SYNTAX

NEWNAME=OSOP.BCB1O.COMBO
IEH201I INVALID REQUEST... STATEMENT IGNORED

UTILITY END
*******************************
Back to top
View user's profile Send private message

tarunbhardwajleo

New User


Joined: 23 Feb 2007
Posts: 25
Location: Dallas, TX

PostPosted: Fri Mar 23, 2007 12:25 am    Post subject:
Reply with quote

Give a continuation character in the 72nd column and it should work for you !
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: Fri Mar 23, 2007 12:27 am    Post subject:
Reply with quote

Hello,

I believe you also need to put an "X" in position 72 of this:
Code:
RENAME DSNAME=OSOP.BCB1O.COMBINE,VOL=3390=WORKY1,


Just another thing to deal with when using IEHPROGM.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Mar 23, 2007 2:02 pm    Post subject:
Reply with quote

Why the sudden interest in IEHPROGM ?

It is only really useful for NON SMS managed dataset manipulation, otherwise use IDCAMS which is better equipped to maintain the VTOC VVDS relationships.

Even for some NON SMS managed data manipulations it is still possible to use IDCAMS.
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: Fri Mar 23, 2007 7:24 pm    Post subject:
Reply with quote

Hello expat,

My guess is that a group of folks have been given some less than current direction. . .
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Mar 23, 2007 7:46 pm    Post subject:
Reply with quote

Hello Dick,

Oooooooooooops, that could have been from me.
At least it shows that the threads are being read and taken in icon_biggrin.gif
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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm


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