Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8629
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: 4650
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 COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us