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
 

 

IEHPROGM utitlity Error: Invalid Control Statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: IEHPROGM utitlity Error: Invalid Control Statement
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: 3158
Location: Tucson AZ

PostPosted: Wed Jan 10, 2007 7:40 pm    Post subject:
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    Post subject: Re: regrading Iehprogm utitlity problem
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    Post subject: Re: regrading Iehprogm utitlity problem
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    Post subject: Re: regrading Iehprogm utitlity problem
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: 3158
Location: Tucson AZ

PostPosted: Thu Jan 11, 2007 7:21 pm    Post subject: Re: regrading Iehprogm utitlity problem
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    Post subject: iehprog
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    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 Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am


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