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

IEHPROGM utitlity Error: Invalid Control Statement


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

New User


Joined: 11 Dec 2006
Posts: 1
Location: Gurgaon

PostPosted: Wed Jan 10, 2007 6:58 pm
Reply with quote

dear friends,
i have written this code for renaming a member, but it gives foolowing error,
can anyone told me the solution

Code:
                     
//STEP1 EXEC PGM=IEHPROGM                           
//SYSPRINT DD SYSOUT=*                               
//SYSUT1 DD UNIT=3390,VOL=SER=USER02,DISP=SHR       
//SYSUT2 DD UNIT=SYSDA,VOL=SER=USER02,DISP=SHR       
//SYSIN DD *                                         
       RENAME MEMBER=GDG,DSNAME=MTPLD01.MINI.JCL12, 
       VOL=SYSDA=USER02,NEWNAME=XYA                 
/*                                                   
//           


error

RENAME MEMBER=GDG,DSNAME=MTPLD01.MINI.JCL12, X00070008
VOL=SYSDA=USER02,NEWNAME=XYA 00080008
IEH202I INVALID KEYWORD OR CONTROL STATEMENT SYNTAX

Anyone tell me the solutions
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Jan 10, 2007 7:40 pm
Reply with quote

From the FM:
Quote:
Utility control statements are coded on cards or as online input and are contained in columns 1 through 71. A statement that exceeds 71 characters must be continued on one or more additional records. A nonblank character must be placed in column 72 to indicate continuation.
Does that help?
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Wed Jan 10, 2007 8:07 pm
Reply with quote

Renumehta,

The error messages indicates that you do have a continuation character in position 71.

You must start your contination statements in column 16.

Code:

//STEP1 EXEC PGM=IEHPROGM                                             
//SYSPRINT DD SYSOUT=*                                                 
//SYSUT1 DD UNIT=3390,VOL=SER=USER02,DISP=SHR                         
//SYSUT2 DD UNIT=SYSDA,VOL=SER=USER02,DISP=SHR                         
//SYSIN DD *                                                           
  RENAME DSNAME=MTPLD01.MINI.JCL12,                                   X
               VOL=SYSDA=USER02,MEMBER=GDG,NEWNAME=XYA                 
/*                                                                     
//                                                                     
 


Cut and paste code and give it a try and make sure that X is in 71.
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Wed Jan 10, 2007 8:10 pm
Reply with quote

My bad. Please make sure the X is in 72.

Code:

//STEP1 EXEC PGM=IEHPROGM                                               
//SYSPRINT DD SYSOUT=*                                                 
//SYSUT1 DD UNIT=3390,VOL=SER=USER02,DISP=SHR                           
//SYSUT2 DD UNIT=SYSDA,VOL=SER=USER02,DISP=SHR                         
//SYSIN DD *                                                           
  RENAME DSNAME=MTPLD01.MINI.JCL12,                                    X
               VOL=SYSDA=USER02,MEMBER=GDG,NEWNAME=XYA                 
/*                                                                     
//                                                                     
Back to top
View user's profile Send private message
shivsingla
Warnings : 1

New User


Joined: 14 Jul 2006
Posts: 15
Location: New Delhi

PostPosted: Thu Jan 11, 2007 6:39 pm
Reply with quote

sorry , but this code is not working, i have given countitution non-blank char on 72 col. and also countitution is started with 16 th col in ithe next line.

but it gives same eror
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Jan 11, 2007 7:21 pm
Reply with quote

shivsingla wrote:
sorry , but this code is not working, i have given countitution non-blank char on 72 col. and also countitution is started with 16 th col in ithe next line.
but it gives same eror
Quote:
IEH202I INVALID KEYWORD OR CONTROL STATEMENT SYNTAX

Explanation: In the utility statement preceding this message, the required keyword is incorrect, or the continuation does not start in column 16.

System Action: The request is ignored. The return code is 8.

Application Programmer Response: Probable user error. Correct the error and resubmit the job.

System Programmer Response: If the error recurs and the program is not in error, look at the messages in the job log for more information. Search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM Support Center. Provide the JCL and the program listing for the job.
Mmmmm Maybe you found a "bug" icon_eek.gif
Back to top
View user's profile Send private message
er.neetu.gupta
Currently Banned

New User


Joined: 04 Jan 2007
Posts: 2
Location: delhi

PostPosted: Thu Jan 11, 2007 8:25 pm
Reply with quote

i hav also tried this utiliy.but it is nt working.whenever anyone find answer of this ques then tel me
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts U0016 error in JCL JCL & VSAM 4
No new posts python on z/OS error no encoding decl... Testing & Performance 0
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
Search our Forums:


Back to Top