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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Code to view/edit/browse a PS file or DS member in Job
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: 2360
Location: Israel

PostPosted: Tue Dec 30, 2008 12:49 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Dec 30, 2008 12:58 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Tue Dec 30, 2008 12:58 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Dec 30, 2008 1:01 pm    Post subject: Reply to: Code to view/edit/browse a PS file or DS member in
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    Post subject:
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    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
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am


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