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
 

 

Change command of ISPF in REXX code

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

New User


Joined: 31 May 2007
Posts: 4
Location: Bangalore

PostPosted: Fri Jun 01, 2007 4:15 pm    Post subject: Change command of ISPF in REXX code
Reply with quote

Hi All
I need to change the string in a member of a PDS using ISPF command in REXX code

for eg : we use C 'oldstring' 'newstring' in ISPF ...
this one i need in REXX...

can u please help me in this regard???
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 01, 2007 4:40 pm    Post subject:
Reply with quote

You can use an ISPF edit macro to issue almost all of the commands that you use at the terminal.
Back to top
View user's profile Send private message
Asir Daniel Raj

New User


Joined: 31 Jul 2007
Posts: 2
Location: India

PostPosted: Wed Aug 01, 2007 5:51 pm    Post subject: Re: Change command of ISPF in REXX code
Reply with quote

Hi Anweshi,
Now i am in a need of the same task as u to execute "change all" command.
Have u finished the task. If u have succeed then help me out.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Wed Aug 01, 2007 6:16 pm    Post subject:
Reply with quote

this link will provide a list of document for different z/OS Versions of ispf edit edit macros. Suggest you pick one and download it.

Look for 3.3.11 CHANGE--Change a Search String
in any of the books.

the format in a rexx edit macro is
Code:

ISREDIT CHANGE 'search string' 'replacement string' ALL


If you are looking for more documents about ISPF or OS390, use this link and enter 'ISPF' as your search key.

This is the z/OS V1R6 library center. again, use ISPF as a search key.
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


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