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
 

 

view the DSN thru browse mode in SDSF

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
rohitsir

New User


Joined: 21 Aug 2007
Posts: 32
Location: USA

PostPosted: Mon May 05, 2008 10:27 pm    Post subject: view the DSN thru browse mode in SDSF
Reply with quote

I have written a routine to view the dataset in JCL by placing cursor over the name and executing the routine. It works when your JCL is open in edit mode.

My requirement is to execute the same routine when JCL is opened in browse mode.

Rohit
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: Mon May 05, 2008 11:01 pm    Post subject: Reply to: view the DSN thru browse mode in SDSF
Reply with quote

IPSF EDIT and VIEW allow for automation via ISPF EDIT macros. BROWSE does not. I don't believe you can do what you want.
Back to top
View user's profile Send private message
rohitsir

New User


Joined: 21 Aug 2007
Posts: 32
Location: USA

PostPosted: Mon May 05, 2008 11:10 pm    Post subject:
Reply with quote

The shop i work for has this utility to open up the DSNs while in browse mode in jcl. I have searched thru all their allocated libraries but I could not trace the code behind this utility.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Mon May 05, 2008 11:57 pm    Post subject: Reply to: view the DSN thru browse mode in SDSF
Reply with quote

check Doug Nadel VCURSOR at

http://www.sillysot.com/mvs/
expand the ISPF extension section
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue May 06, 2008 1:29 am    Post subject:
Reply with quote

You can also select the SDSF job in EDIT mode by using "SE" to select it. If the entire job is too large, use the "?" first to separate the spooled "datasets" and isolate the JCL portion.

Keep in mind that SDSF has unique PFkeys, so if your MACRO is driven by a key you'll need to change the assignment in SDSF.
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 May 06, 2008 2:13 am    Post subject: Reply to: view the DSN thru browse mode in SDSF
Reply with quote

I'm sorry, maybe I misunderstood the topic, since I don't have, and have never been in a shop that has SDSF. Does it have it's own scripting/macro facilities?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue May 06, 2008 2:56 am    Post subject:
Reply with quote

Bill Dennis wrote:
You can also select the SDSF job in EDIT mode by using "SE" to select it.
I use "SJ" in front of the JOB name in SDSF, if I need to edit the JCL. I think it's not site-specific; please confirm it.
Back to top
View user's profile Send private message
rohitsir

New User


Joined: 21 Aug 2007
Posts: 32
Location: USA

PostPosted: Tue May 06, 2008 3:07 am    Post subject:
Reply with quote

I think i can play with this option of using SE insead of S to open up the spool in edit mode. Thanks Bill
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 May 06, 2008 11:35 am    Post subject:
Reply with quote

SE & SJ are features of SDSF, so not a site specific thing.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue May 06, 2008 12:35 pm    Post subject:
Reply with quote

Thanks, I was little unsure. This command right away 'gives' the JCL 'submitted ' to edit again.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue May 06, 2008 6:28 pm    Post subject:
Reply with quote

Kevin,

No, SDSF does not have it's own scripting capability. Selecting the spool file in edit mode allows for ISPF macros to be used. Apparently, the above-mentioned VCURSOR may work while looking at spool files in browse mode but I've never looked at it.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1226
Location: Israel

PostPosted: Tue May 06, 2008 8:37 pm    Post subject:
Reply with quote

When browsing a file (from SDSF or any other way), I just need to type "BROWSE' in the command line,
place my cursor under a dataset name and hit ENTER.
I can type 'BROWSE' or 'EDIT' or 'VIEW'. These are not macros, they are commands.
This behavior may come from SPIFFY, a well known enhancement to TSO/ISPF.
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 SDSF and SAF security danik56 TSO/ISPF 3 Wed Mar 15, 2017 12:51 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts Help Needed with View Direct shailesh_do CA Products 2 Wed Jul 13, 2016 10:39 am


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