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

Rename a set of PS using its high qualifier


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 1788
Location: Bloomington, IL

PostPosted: Mon Jan 09, 2012 8:26 pm
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

Global Moderator


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

PostPosted: Wed Jan 11, 2012 2:46 am
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
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: 1348
Location: Israel

PostPosted: Wed Jan 11, 2012 3:38 pm
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

Superior Member


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

PostPosted: Wed Jan 11, 2012 4:31 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Rename dasd IBM Tools 11
No new posts Need all records with high key SYNCSORT 15
No new posts ESQA overflow - high ECSA utilization All Other Mainframe Topics 1
No new posts High CPU consumption Job using IAM fi... JCL & VSAM 15
No new posts Error during restore rename All Other Mainframe Topics 2
Search our Forums:

Back to Top