View previous topic :: View next topic
|
Author |
Message |
rohitsir
New User
Joined: 21 Aug 2007 Posts: 32 Location: USA
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
rohitsir
New User
Joined: 21 Aug 2007 Posts: 32 Location: USA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
rohitsir
New User
Joined: 21 Aug 2007 Posts: 32 Location: USA
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
SE & SJ are features of SDSF, so not a site specific thing. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Thanks, I was little unsure. This command right away 'gives' the JCL 'submitted ' to edit again. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
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 |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
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 |
|
|
|