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 DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts PA02 - Programmtically control attent... dodithegreat IMS DB/DC 1 Thu Apr 06, 2017 8:33 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


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