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: 4648
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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts How to see VIEW definition from BMC c... rohanthengal DB2 1 Thu May 04, 2017 1:50 pm


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