Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts NULLFILE on ICEGENER Utility Ashishpanpaliya DFSORT/ICETOOL 5 Wed Nov 08, 2017 10:45 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts How to Use DebugTool CodeCoverage Uti... neo4u IBM Tools 0 Thu Jun 22, 2017 6:38 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us