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

TSO command to use "Change all" across some member


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
Search our Forums:

Back to Top