View previous topic :: View next topic
|
Author |
Message |
avd2310
New User
Joined: 18 Jul 2008 Posts: 3 Location: Chennai
|
|
|
|
Hi,
My requirement is as mentioned below:-
A job is having a dataset or file, How to view/edit/browse the PDS member or PS file with an option in command line and the cursor on the datset?
Can anyone help to code it.
Amit |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I would recommend for Edit-Macro.
O. |
|
Back to top |
|
|
avd2310
New User
Joined: 18 Jul 2008 Posts: 3 Location: Chennai
|
|
|
|
Quote: |
I would recommend for Edit-Macro. |
How to do it with REXX. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Reading the ISPF edit macro manual would be a very good start |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
1. Place your cursor on the desired line.
2. Use Edit-Macro commands to retrieve the line.
3. Parse the line to get the dataset name.
4. Use ISPF Services to open the dataset.
O. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
avd2310
New User
Joined: 18 Jul 2008 Posts: 3 Location: Chennai
|
|
|
|
Quote: |
Download the ZOOM ISPF EDIT Macro from FILE 671 of the CBT Tape. |
Thanks for your kind reply. |
|
Back to top |
|
|
|