View previous topic :: View next topic
|
Author |
Message |
anweshi
New User
Joined: 31 May 2007 Posts: 4 Location: Bangalore
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
You can use an ISPF edit macro to issue almost all of the commands that you use at the terminal. |
|
Back to top |
|
|
Asir Daniel Raj
New User
Joined: 31 Jul 2007 Posts: 2 Location: India
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
ronald wouterosn
New User
Joined: 17 Sep 2017 Posts: 6 Location: netherlands
|
|
|
|
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 |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
Please start a new post and avoid tailgating any old post. |
|
Back to top |
|
|
|