|
View previous topic :: View next topic
|
| Author |
Message |
renumehta
New User
Joined: 11 Dec 2006 Posts: 1 Location: Gurgaon
|
|
|
|
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 |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
 |
cpuhawg
Active User

Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
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 |
|
 |
cpuhawg
Active User

Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
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 |
|
 |
shivsingla Warnings : 1 New User
Joined: 14 Jul 2006 Posts: 15 Location: New Delhi
|
|
|
|
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 |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
| 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"  |
|
| Back to top |
|
 |
er.neetu.gupta Currently Banned New User
Joined: 04 Jan 2007 Posts: 2 Location: delhi
|
|
|
|
| i hav also tried this utiliy.but it is nt working.whenever anyone find answer of this ques then tel me |
|
| Back to top |
|
 |
|
|