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

view the DSN thru browse mode in SDSF


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Mon May 05, 2008 11:01 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon May 05, 2008 11:57 pm
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
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

Global Moderator


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

PostPosted: Tue May 06, 2008 2:13 am
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

Superior Member


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

PostPosted: Tue May 06, 2008 2:56 am
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
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: 8797
Location: Welsh Wales

PostPosted: Tue May 06, 2008 11:35 am
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

Superior Member


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

PostPosted: Tue May 06, 2008 12:35 pm
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
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: 1353
Location: Israel

PostPosted: Tue May 06, 2008 8:37 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts SET PATH in View DDL DB2 2
Search our Forums:

Back to Top