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
 

 

IBM utility:IEHPROGM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: IBM utility:IEHPROGM
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    Post subject: Re: IBM utility:IEHPROGM
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    Post subject:
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    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 TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm
No new posts Any docs / links for isub- cobol comp... SRICOBSAS COBOL Programming 4 Fri Aug 26, 2016 2:35 pm
No new posts Comparex utility to Syncsort conversion mistah kurtz SYNCSORT 11 Fri Jul 22, 2016 1:53 pm


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