Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8596
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: 8596
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 -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us