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

Code to view/edit/browse a PS file or DS member in Job


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
avd2310

New User


Joined: 18 Jul 2008
Posts: 3
Location: Chennai

PostPosted: Tue Dec 30, 2008 12:37 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Dec 30, 2008 12:49 pm
Reply with quote

I would recommend for Edit-Macro.

O.
Back to top
View user's profile Send private message
avd2310

New User


Joined: 18 Jul 2008
Posts: 3
Location: Chennai

PostPosted: Tue Dec 30, 2008 12:56 pm
Reply with quote

Quote:
I would recommend for Edit-Macro.


How to do it with REXX.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Dec 30, 2008 12:58 pm
Reply with quote

Reading the ISPF edit macro manual would be a very good start
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Dec 30, 2008 12:58 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Dec 30, 2008 1:01 pm
Reply with quote

Download the ZOOM ISPF EDIT Macro from FILE 671 of the CBT Tape.
Back to top
View user's profile Send private message
avd2310

New User


Joined: 18 Jul 2008
Posts: 3
Location: Chennai

PostPosted: Tue Dec 30, 2008 1:07 pm
Reply with quote

Quote:
Download the ZOOM ISPF EDIT Macro from FILE 671 of the CBT Tape.


Thanks for your kind reply.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts HILITE on Browse mode? TSO/ISPF 2
Search our Forums:

Back to Top