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

IBM utility:IEHPROGM


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

New User


Joined: 08 Jul 2005
Posts: 8

PostPosted: Thu Jul 14, 2005 2:46 pm
Reply with quote

HI,
can anyone explain me how to rename a dataset using this IEHPROGM utility with an example
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Thu Jul 14, 2005 3:28 pm
Reply with quote

Hi Lavanya,

This job will rename a dataset, you provide the current dataset name and the new name and the volume on which the dataset resides
Code:

//HERC01P JOB (HERC01),'IEHPROGM',CLASS=A,MSGCLASS=X,
//        MSGLEVEL=(1,1),NOTIFY=&SYSUID
//*
//STEP010 EXEC PGM=IEHPROGM,REGION=1024K
//*
//SYSPRINT DD SYSOUT=X
//DD1 DD UNIT=3350,VOL=SER=PUB000,DISP=OLD
//DD2 DD UNIT=3350,VOL=SER=PUB001,DISP=OLD
//*
//SYSIN DD *
 RENAME DSNAME=HERC01.SOURCE.ASM,VOL=3350=PUB001, X
 NEWNAME=HERC01.DEV.ASM
 RENAME DSNAME=HERC01.SOURCE.ASMMAC,VOL=3350=PUB001, X
 NEWNAME=HERC01.DEV.ASMMAC
/*
Back to top
View user's profile Send private message
lavanya

New User


Joined: 08 Jul 2005
Posts: 8

PostPosted: Thu Jul 14, 2005 4:00 pm
Reply with quote

hi Parikshit,


thanks it worked

lavanya
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 REASON 00D70014 in load utility DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Calling IEHPROGM from REXX CLIST & REXX 7
No new posts Any JCL or VSAM Utility to get number... JCL & VSAM 1
No new posts DATA SET LIST UTILITY screen TSO/ISPF 6
Search our Forums:

Back to Top