Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us