View previous topic :: View next topic
|
Author |
Message |
sureshmurali Warnings : 1 New User
Joined: 25 Nov 2010 Posts: 70 Location: Sivakasi, India
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
You didn't even bother to read about the TSO RENAME command, did you? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
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 |
|
|
chaoj
Active User
Joined: 03 Jun 2010 Posts: 103 Location: Dalian
|
|
|
|
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 |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
sureshmurali wrote: |
I have 5000 PS ... I want to rename |
And if something goes wrong, don't be surprised if you get... shot! |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Good one Marso....
And as IKJEFT01 is TSO in Batch, may be you can write a JCL (so fluffy attracive word for 'Software Engineers' ) - and can issue a rename in background. |
|
Back to top |
|
|
Michael Jakob
New User
Joined: 13 Mar 2011 Posts: 17 Location: Switzerland
|
|
|
|
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 |
|
|
|