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

JCl error INVALID KEYWORD OR CONTROL STATEMENT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 46
Location: mumbai

PostPosted: Fri Mar 23, 2007 12:00 am
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
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

Moderator Emeritus


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

PostPosted: Fri Mar 23, 2007 12:27 am
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: 8797
Location: Welsh Wales

PostPosted: Fri Mar 23, 2007 2:02 pm
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

Moderator Emeritus


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

PostPosted: Fri Mar 23, 2007 7:24 pm
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: 8797
Location: Welsh Wales

PostPosted: Fri Mar 23, 2007 7:46 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top