Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to change the variables

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: how to change the variables
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: 1452
Location: Chicago, IL

PostPosted: Wed Jul 13, 2005 6:46 pm    Post subject: Re: how to change the variables
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    Post subject:
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: 1452
Location: Chicago, IL

PostPosted: Wed Jul 13, 2005 8:20 pm    Post subject: Re: how to change the variables
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

Moderator Team Head


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

PostPosted: Wed Jul 13, 2005 11:03 pm    Post subject: Re: how to change the variables
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 5 Fri Jan 20, 2017 12:36 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts How to change dataset attributes of m... ignich7 JCL & VSAM 3 Thu Jul 21, 2016 9:17 pm
No new posts Is it possible to pass variables of s... Csongor CLIST & REXX 2 Fri Jun 10, 2016 7:33 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us