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
 
Rename a set of PS using its high qualifier

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Mon Jan 09, 2012 7:16 pm    Post subject: Rename a set of PS using its high qualifier
Reply with quote

I have 5000 PS with the high qualifier AAAAAA.BBBBBB.CCCCCC.DDDDDD.*
I want to rename the second qualifier from BBBBBB to EEEEEE.
Is there any way to change this in a single shot using ISPF command ?
Back to top
View user's profile Send private message

Akatsukami

Global Moderator


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

PostPosted: Mon Jan 09, 2012 8:26 pm    Post subject:
Reply with quote

You didn't even bother to read about the TSO RENAME command, did you?
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2086
Location: Silicon Valley

PostPosted: Wed Jan 11, 2012 2:46 am    Post subject: Reply to: Rename a set of PS using its high qualifier
Reply with quote

Quote:
any way to change this in a single shot


no

Quote:
using ISPF command


no

I suggest you read the file and for each line:
- parse
- issue TSO RENAME command
Back to top
View user's profile Send private message
chaoj

Active User


Joined: 03 Jun 2010
Posts: 103
Location: Dalian

PostPosted: Wed Jan 11, 2012 2:28 pm    Post subject: Re: Rename a set of PS using its high qualifier
Reply with quote

sureshmurali wrote:
I have 5000 PS with the high qualifier AAAAAA.BBBBBB.CCCCCC.DDDDDD.*
I want to rename the second qualifier from BBBBBB to EEEEEE.
Is there any way to change this in a single shot using ISPF command ?


I don't know the way with a single shot
Only know the way with multi-shot , do you want it ?
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1243
Location: Israel

PostPosted: Wed Jan 11, 2012 3:38 pm    Post subject: Re: Rename a set of PS using its high qualifier
Reply with quote

sureshmurali wrote:
I have 5000 PS ... I want to rename
And if something goes wrong, don't be surprised if you get... shot! icon_eek.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Wed Jan 11, 2012 4:31 pm    Post subject:
Reply with quote

Good one Marso...icon_smile.gif.

And as IKJEFT01 is TSO in Batch, may be you can write a JCL (so fluffy attracive word for 'Software Engineers' icon_biggrin.gif) - and can issue a rename in background.
Back to top
View user's profile Send private message
Michael Jakob

New User


Joined: 13 Mar 2011
Posts: 17
Location: Switzerland

PostPosted: Wed Jan 25, 2012 4:15 am    Post subject: LMDLIST for dataset list
Reply with quote

If you like you can use ISPF function LMDLIST. This function lists all datasets to a pattern.
You can do with each entry what you like.
Please check the manual for LMDINIT, LMDLIST and LMDFREE.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ESQA overflow - high ECSA utilization vasanthz All Other Mainframe Topics 1 Thu Dec 29, 2016 7:06 am
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Generic rename by pattern‏ Steve Coalbran CLIST & REXX 6 Mon May 30, 2016 9:34 pm

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