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

how to change the variables


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nayak

New User


Joined: 13 Jul 2005
Posts: 37

PostPosted: Wed Jul 13, 2005 6:24 pm
Reply with quote

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
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Jul 13, 2005 6:46 pm
Reply with quote

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
View user's profile Send private message
nayak

New User


Joined: 13 Jul 2005
Posts: 37

PostPosted: Wed Jul 13, 2005 8:14 pm
Reply with quote

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
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Jul 13, 2005 8:20 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Jul 13, 2005 11:03 pm
Reply with quote

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
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Thu Jul 14, 2005 1:24 am
Reply with quote

If you are looking for a solution using some utilities then check for IPOUPDTE or Fileaid.

Regds
-Som
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts SELECT from data change table DB2 5
No new posts Trying to change copybook in online c... CICS 4
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts Change history of vsam file. JCL & VSAM 3
Search our Forums:

Back to Top