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
 

 

TSO command to use "Change all" across some member

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
thirunarayanan

New User


Joined: 06 Oct 2006
Posts: 9

PostPosted: Thu Oct 12, 2006 3:35 pm    Post subject: TSO command to use "Change all" across some member
Reply with quote

Can anyone help me if there is a command to replace/change
certain text across all the members of a PDS.

Regards
Thiru
Back to top
View user's profile Send private message

MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Thu Oct 12, 2006 8:04 pm    Post subject: Re: TSO command to use "Change all" across some me
Reply with quote

- Use PDSMAN
- Use Edit Macro/Rexx, Search forum and you will find more information.

If your shop has PDSMAN you can do this interactively or submit a job:

Code:

//STEP1   EXEC PGM=PDSM18                 
//PDSMSEL  DD *                           
/*                                       
//SYSIN    DD *                           
OPTION TRANSLATE=Y TRANSNEW=Y MISSMSG=N   
REPLACE TARGET=TEST1                     
        NEW=TEST2                         
/*                                       
//PDSMPDS  DD DSN=PDSNAME,   
//            DISP=SHR                   
//PDSMRPT  DD SYSOUT=*                   


PDSMSEL ==> Here if you want all members leave it blank or if you want selected members specify like TEST*.ALL

In Sysin REPLACE TARGET= is search string
NEW= is replacement string.
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Thu Oct 12, 2006 8:11 pm    Post subject: Re: TSO command to use "Change all" across some me
Reply with quote

The IPOUPDTE program.
Back to top
View user's profile Send private message
param_rajesh_2001
Warnings : 1

New User


Joined: 23 Jun 2006
Posts: 18
Location: Bangalore

PostPosted: Thu Oct 12, 2006 8:18 pm    Post subject:
Reply with quote

Hi u can use fileaid utility to change the text in PDS

//jobcard
//**

//STEP010 EXEC PGM=FILEAID
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//DD02 DD DISP=SHR,DSN=INPUTFILE NAME
//SYSIN DD *
$$DD02 UP ME=9999,
EA=(1,0,T"text1",C"text2")
/*

where text1 - text to be changed
text2 - replace the new text .

Hope this will work for you
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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