| View previous topic :: View next topic |
| Author |
Message |
culturewyj00 Beginner
Joined: 15 Jun 2006 Posts: 14 Topics: 7
|
Posted: Sun Jul 09, 2006 10:24 pm Post subject: Rename Error Using IEHPROGM |
|
|
| Code: |
//REN JOB NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEHPROGM
//SYSPRINT DD SYSOUT=A
//DD1 DD VOL=SER=USER01,DISP=OLD,UNIT=3390
//SYSIN DD *
RENAME VOL=SER=TS0002,DSNAME='PX27.EXER.PDS',NEWNAME=RMEM1,MEMBER=MEM1
/*
|
The message is :
| Code: | SYSTEM SUPPORT UTILITIES ---- IEHPROGM
RENAME VOL=SER=TS0002,DSNAME='PX27.EXER.PDS',NEWNAME=RMEM1,MEMBER=MEM1
IEH201I INVALID REQUEST... STATEMENT IGNORED
UTILITY END |
What's wrong with this jcl? |
|
| Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12388 Topics: 75 Location: San Jose
|
Posted: Mon Jul 10, 2006 4:03 am Post subject: |
|
|
culturewyj00,
Make sure that your control statements start from pos pos 2 i.e
| Code: |
//SYSIN DD *
RENAME VOL=SER=TS0002,DSNAME='PX27.EXER.PDS',NEWNAME=RMEM1,MEMBER=MEM1
/*
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
| Back to top |
|
 |
bablack Beginner
Joined: 04 Dec 2002 Posts: 71 Topics: 0 Location: Little Falls, NJ
|
Posted: Mon Jul 10, 2006 10:11 am Post subject: |
|
|
the problem is your VOL parm. It is not VOL=SER (like in JCL), it is VOL=devicetype=serial, e.g.,
VOL=3390=TSO002 _________________ Bruce A. Black
Senior Software Developer
Innovation Data Processing |
|
| Back to top |
|
 |
mfuser Banned
Joined: 01 Mar 2005 Posts: 105 Topics: 58
|
Posted: Mon Jul 10, 2006 11:47 pm Post subject: |
|
|
Bablack,
I am trying to rename a PS and i am using the JCL below and i am unable to run my job succesffuly.Can you can help me out what exactly is the problem here ?
| Code: |
//STEP010 EXEC PGM=IEHPROGM
//DD1 DD VOL=SER=USER01,DISP=OLD,UNIT=SYSDA
//SYSIN DD *
RENAME VOL=3390=USER01,DSNAME='PROJECT.TEST.IN', X
NEWNAME='PROJECT.TEST.TODAYIN'
/*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//
|
OUTPUT
| Code: |
SYSTEM SUPPORT UTILITIES ---- IEHPROGM
RENAME VOL=3390=USER01,DSNAME='PROJECT.TEST.IN', X
NEWNAME='PROJECT.TEST.TODAYIN'
IEH217I ERROR ENCOUNTERED IN A NAME, INDEX, ALIAS, OR MEMBER FIELD OF THE CONTROL STATEMENT .. REQUEST IGNORED
UTILITY END
|
|
|
| Back to top |
|
 |
nevilh Beginner
Joined: 11 Aug 2004 Posts: 115 Topics: 0
|
Posted: Tue Jul 11, 2006 3:18 am Post subject: |
|
|
| IEHPROGM doesn't like the dsname in quotes 'project.test.in' is an invalid dsname |
|
| Back to top |
|
 |
|
|
|