View previous topic :: View next topic
|
Author |
Message |
nayak
New User
Joined: 13 Jul 2005 Posts: 37
|
|
|
|
I got some 10 to 15 pds , each pds contains some 50 to 100 members.
i just want to change the variable E-NO to EMP-NO , where ever it is present in the dataset . for ur kind info i dont know rexx codes, let me know in TSO options.
Regards,
Nayak. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Hi Nayak,
Quote: |
for ur kind info i dont know rexx codes, let me know in TSO options. |
I also Didn't know REXX at the time...my prob was got solved here....
I dont think It will be done by TSO.....Check this post......
[url]http://ibmmainframes.com/viewtopic.php?t=2652&highlight= [/url]
Try & let me know ...If any prob.......
Regards,
Priyesh. |
|
Back to top |
|
|
nayak
New User
Joined: 13 Jul 2005 Posts: 37
|
|
|
|
well thank u. could u give some ideas to find out that particular variable is present in this member or in this dataset. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Quote: |
find out that particular variable is present in this member or in this dataset. |
You can give a search for TSO Options 3.15 in any PDS for any Variable....
Output Dataset will enlist all the occurrences of that variable in that PDS.
Regards,
Priyesh. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
For a TSO solution, you can use the TSO PRINTDS command to convert a PDS library to a sequential file. Then, edit the sequential file and do a
"C 'E-NO' 'EMP-NO' ALL" command.
The problem will be when you want to convert the sequential file back into a PDS. You will need to code something (a utility or a program) to convert the PRINTDS output into a set of proper IEBUPDTE control statements. Once that is done, just run IEBUPDTE and the changes will be stored.
Of course, a better solution would be to code up a set of ISPF Library Management (LM) dialogs and an edit macro to handle this entire process seamlessly. |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
If you are looking for a solution using some utilities then check for IPOUPDTE or Fileaid.
Regds
-Som |
|
Back to top |
|
|
|