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

Change command of ISPF in REXX code


IBM Mainframe Forums -> TSO/ISPF
Post new topic   This topic is locked: you cannot edit posts or make replies.
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Jun 01, 2007 4:40 pm
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
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
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
ronald wouterosn

New User


Joined: 17 Sep 2017
Posts: 6
Location: netherlands

PostPosted: Tue Aug 24, 2021 3:16 pm
Reply with quote

expat wrote:
You can use an ISPF edit macro to issue almost all of the commands that you use at the terminal.

Hi, sounds very good. What is the syntax to use when you want to do the same as definitions in a pfkey. For example, the PF key contains:

L 0;F WORK 8;:.W;F PROC 8;:.P

Just setting labels .w and .p at certain positions in your cobol source. Can this also be done in one string in a ISREDIT or any other way?

Thanks!!!
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2862
Location: NYC,USA

PostPosted: Tue Aug 24, 2021 4:24 pm
Reply with quote

Please start a new post and avoid tailgating any old post.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts DL/I status code AK for GU call using... IMS DB/DC 1
No new posts Can you tell me what functionality yo... CLIST & REXX 27
No new posts IEF142I and Cond. Code 12 All Other Mainframe Topics 3
No new posts Rexx with Savers or $avers? CLIST & REXX 2
No new posts Rexx issue error Ispf105 TSO/ISPF 27
Search our Forums:

Back to Top