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

Problem with renaming using IEHPROGM


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

New User


Joined: 16 Sep 2005
Posts: 42

PostPosted: Thu Jun 08, 2006 5:12 pm
Reply with quote

Hi all,

I am having a problem in renaming a PDS member using IEHPROGM.

//COPY EXEC PGM=IEHPROGM
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=XXX.YYY.ZZZ,DISP=SHR
//SYSIN DD *
RENAME DSNAME=XXX.YYY.ZZZ,VOL=DXR26S,
NEWNAME=AFTERED,MEMBER=BEFORE
/*

The problem is with volume. I got the volume from the 3.4 option:


Command - Enter "/" to select action Message Volume
-------------------------------------------------------------------------------
TPMS.TAPRRG1.SCANLIB DXR26S

But the job says that volume is not valid.

Can anybody please help me.

Thanks in advance.

Regards,
Jerry.
Back to top
View user's profile Send private message
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Fri Jun 09, 2006 3:19 pm
Reply with quote

Get the speciffic Volume name by giving the line command S aganist your dataset TTT.YYY.ZZZ and then specify it inside ur JCl.This might reside your problem.Let me know if there are any issues
Back to top
View user's profile Send private message
varun_sharma

New User


Joined: 08 Jun 2005
Posts: 19
Location: new delhi

PostPosted: Fri Jun 09, 2006 3:23 pm
Reply with quote

Hi Jerry,

Get rid of the volume. Please let me know if still the problem persists.

Cheers
Varun
Back to top
View user's profile Send private message
Jerry

New User


Joined: 16 Sep 2005
Posts: 42

PostPosted: Mon Jun 12, 2006 6:29 pm
Reply with quote

Hi Prashanth,
The information on the dataset shows up the volume as DXR26S only.

Hi Varun,
If I try to run the JCL, without giving the volume parameter, it gives out:

SYSTEM SUPPORT UTILITIES ---- IEHPROGM

RENAME DSNAME=TPMS.TAPRRG1.SCANLIB,MEMBER=WDD17A0,NEWNAME=WDD17A2
IEH205I INFORMATION IN CONTROL STATEMENT IS NOT SUFFICIENT
THE REQUESTED PROGRAM FUNCTION HAS NOT BEEN CALLED ... UNUSUAL END

UTILITY END

Can you please help me out or is it system specific.

Thanks in advance.

Regards,
Ramya.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Calling IEHPROGM from REXX CLIST & REXX 7
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
Search our Forums:

Back to Top