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
 

 

Renaming multiple Sequential datasets using utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sravz chinnu

New User


Joined: 07 Dec 2011
Posts: 26
Location: India

PostPosted: Thu Jul 26, 2012 3:02 pm    Post subject: Renaming multiple Sequential datasets using utility
Reply with quote

HEllo Friends,

I have a requirement to rename, say 50 files at a time using utility. I did search in the forum for some clue and i found some solutions and tried those.

1. I used IDCAMS to alter the file name i am getting
ALTER is not the recognised command for IDCAMS.

2. I also Tried using the IEHPROGM, Still not able to get.

Could you please suggest some solution. Meanwhile i will be trying on the same.

Thanks in advance,
Sravani
Back to top
View user's profile Send private message

Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1755
Location: Bloomington, IL

PostPosted: Thu Jul 26, 2012 3:23 pm    Post subject: Re: Renaming multiple Sequential datasets using utility
Reply with quote

sravz chinnu wrote:
1. I used IDCAMS to alter the file name i am getting
ALTER is not the recognised command for IDCAMS.

Yes it is.
Back to top
View user's profile Send private message
sravz chinnu

New User


Joined: 07 Dec 2011
Posts: 26
Location: India

PostPosted: Thu Jul 26, 2012 4:28 pm    Post subject: Re: Renaming multiple Sequential datasets using utility
Reply with quote

I am now able to acheive this using IKJEFT1B batch utility.

But i am unable to get this using IDCAMS and IEHPRGM.

May i know the reason why i am not able to get this.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1491
Location: Chennai

PostPosted: Thu Jul 26, 2012 4:29 pm    Post subject:
Reply with quote

Hello,
Quote:
But i am unable to get this using IDCAMS and IEHPRGM.
May i know the reason why i am not able to get this.

Show us what you tried and the error message, someone will be able to correct the error
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Jul 26, 2012 6:22 pm    Post subject: Re: Renaming multiple Sequential datasets using utility
Reply with quote

sravz chinnu wrote:
I am now able to acheive this using IKJEFT1B batch utility.

But i am unable to get this using IDCAMS and IEHPRGM.

May i know the reason why i am not able to get this.
Line no. 8 and 10 are in error, respectively! icon_wink.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 26, 2012 7:15 pm    Post subject:
Reply with quote

Hello,

Quote:
But i am unable to get this using IDCAMS and IEHPRGM.

May i know the reason why i am not able to get this.
The system "told" you why. If you post the info provided by the system, we should be able to interpret. . .
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 DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am


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