IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Change common name in all members

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
View previous topic :: View next topic  
Author Message
yogeshbabu



Joined: 30 Nov 2005
Posts: 19
Location: India

Posted: Wed Nov 30, 2005 11:29 am    Post subject: Change common name in all members  

In a PDS, I want to change some common name (ex: name1 to name2) in all the members of the PDS

Can anyone help me how to achieve it?
Back to top  
vicky10001



Joined: 13 Jul 2005
Posts: 109

Posted: Wed Nov 30, 2005 11:59 am    Post subject:  

First u go to =3.4 and give pds name then enter

then
Command ===> Scroll ===> CSR

Command - Enter "/" to select action Message Volume
-------------------------------------------------------------------------------
R Pdsname TSWH00


then give R in command column enter then give new name o.k
Back to top  
yogeshbabu



Joined: 30 Nov 2005
Posts: 19
Location: India

Posted: Wed Nov 30, 2005 3:42 pm    Post subject: Re: Change common name in all members  

I want to change not the names of the members but i what to change the content within the members.

I found the answer
Go to fileaid


Option 3 (Utility) --> 6 (Search/Update) --> option M with your PDS name.

With this option you can find and change a string (with / without position parameters) across members of a PDS.
Back to top  
priyesh.agrawal



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

Posted: Wed Nov 30, 2005 6:59 pm    Post subject: Re: Change common name in all members  

Try this...

Code: //S000     EXEC PGM=IPOUPDTE,PARM=UPDATE     
//SYSPRINT DD   SYSOUT=*                     
//@TEST    DD   DSN=HLQ.PDS.NAME,DISP=SHR
//SYSIN    DD   *                           
 INPUTWORD<OUTPUTWORD<                       
//*                           

Regards,

Priyesh.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM