Author Topic: Using RMS/SDSF "?" Functionality in CMOD  (Read 3763 times)

AllenS

  • Guest
Using RMS/SDSF "?" Functionality in CMOD
« on: December 05, 2016, 09:52:23 AM »
I have a question about CMOD functionality, but I'm not on my company's CMOD team, so I apologize up front for not knowing proper terminology or if I'm asking this in the wrong place. 

My company is soon going to switch from RMS to CMOD, but my fellow programmers and I are concerned that there doesn't appear to be any way to split a job listing into smaller pieces by step or output dataset, similar to putting a "?" in front of the job name in RMS or SDSF.  There are separate pages for different output datasets, but they're not labeled in any meaningful way. 

Our CMOD team believes there's no way to duplicate this functionality and that we just need to "get used to it".  But I thought I'd check here and see if anyone knows of a way to modify CMOD to make this work (maybe with a plug-in?), or perhaps if there's some kind of workaround.  I don't know much about our current setup, other than the following info from the "About" page:

IBM Content Navigator
Version: 2.0.3
Build: icn203.700.725

The two plug-ins I see are:
IBM Content Collector for SAP Applications Plug-In
SunRise Plug-In

Any and all suggestions are welcome.  Thanks in advance!

Nolan

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Using RMS/SDSF "?" Functionality in CMOD
« Reply #1 on: December 05, 2016, 10:00:22 AM »
Are they using the ARSYSPIN tool to load the JES2 data in to OnDemand.  That program is specifically provided to load JCLs in to OnDemand and break it out by Stepname and  DD names

For each job we get a single document in OnDemand
JESMSGLG
JESJCL
JESSYSMSG
STEPx/DDNAMEx
STEPx/DDNAMEx

Of course a lot of Z/OS folks will complain about switching to a Windows/Web interface to view output...resistance to change is futile.   :-) 

Welcome to the world of OnDemand!

J.

#zOS #AIX #Windows #Multiplatforms
#DB2 #TSM #ODF #zODF #ODWEK
#CapacityPlanning #AFP #ReportDistribution
#Finance #ICN

AllenS

  • Guest
Re: Using RMS/SDSF "?" Functionality in CMOD
« Reply #2 on: December 05, 2016, 10:11:37 AM »
Thanks, this sounds like it might be exactly what we need!  I'll check with my contact and see if they're using ARSYSPIN.  One question, though.  If it's still a single document, how do you access the different parts you specified?  Are there multiple tabs with the names of JESMSGLG, JESJCL, etc., or is there some other way of identifying which piece you want to access?
« Last Edit: December 05, 2016, 10:17:20 AM by AllenS »

Nolan

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Using RMS/SDSF "?" Functionality in CMOD
« Reply #3 on: December 05, 2016, 11:10:49 AM »
It is a single document for each DD or JES2 output.  You would search on the Jobname and Number to find the documents to view.  Then in the viewer, you would select 'Next Document' to move to the next one.  Each Step and DD name are index fields you can also search on.

For some users being able to quickly view a single DD for a range of JCLs is great.  If you are troubleshooting a failed JCL, it is okay.

It is not as slick as SDSF for viewing JCL output but you get used to it.  ::)
J.

#zOS #AIX #Windows #Multiplatforms
#DB2 #TSM #ODF #zODF #ODWEK
#CapacityPlanning #AFP #ReportDistribution
#Finance #ICN

AllenS

  • Guest
Re: Using RMS/SDSF "?" Functionality in CMOD
« Reply #4 on: December 05, 2016, 03:13:57 PM »
Unfortunately, our CMOD guy is aware of this tool but believes it will make things worse instead of better, since each job will be broken into so many pieces.  He may be right, at least for some jobs.  I guess there's just no good answer for this one.  Thanks for your help, though!

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: Using RMS/SDSF "?" Functionality in CMOD
« Reply #5 on: December 06, 2016, 06:42:11 AM »
I have found a slightly clunky way to replicate the ? functionality with jobs stored using ARSYSPIN.  As long as you have separator records being generated (OUTSEP=YES) you can use the search function to simulate ?.
The records look like this:
B        O#32AOD2-JOB20607        JES2    JESMSGLGP1OFT   STD     CTW1C.O#32AOD2.JOB20607.D0000002.JESMSGLG    2016-12-0608.30.00.5600152016-12-0608.30.00.56

B marks the beginning of the step.  E marks the end.  If you copy the first section of the record(B        O#32AOD2-JOB20607), paste it into search, do a find all you end up with the following list.  Double clicking the entry will allow you to jump to that step:
B        O#32AOD2-JOB20607        JES2    JESMSGLGP1OFT
B        O#32AOD2-JOB20607        JES2    JESJCL  P1OFT
B        O#32AOD2-JOB20607        JES2    JESYSMSGP1OFT
B        O#32AOD2-JOB20607        STAT03  SYSOUT  P1OFT
B        O#32AOD2-JOB20607        GENDTE03SYSTSPRTP1OFT
B        O#32AOD2-JOB20607        GENRPT03SYSOUT  P1OFT
B        O#32AOD2-JOB20607        STAT05  SYSOUT  P1OFT
B        O#32AOD2-JOB20607        GENDTE05SYSTSPRTP1OFT
B        O#32AOD2-JOB20607        GENRPT05SYSOUT  P1OFT
B        O#32AOD2-JOB20607        STAT14  SYSOUT  P1OFT
B        O#32AOD2-JOB20607        GENDTE14SYSTSPRTP1OFT
B        O#32AOD2-JOB20607        GENRPT14SYSOUT  P1OFT
B        O#32AOD2-JOB20607        STAT23  SYSOUT  P1OFT
B        O#32AOD2-JOB20607        GENDTE23SYSTSPRTP1OFT
B        O#32AOD2-JOB20607        GENRPT23SYSOUT  P1OFT
B        O#32AOD2-JOB20607        STAT25  SYSOUT  P1OFT
B        O#32AOD2-JOB20607        GENDTE25SYSTSPRTP1OFT
B        O#32AOD2-JOB20607        GENRPT25SYSOUT  P1OFT


Not the most elegant solution but if you have a job with many steps it can help.

AllenS

  • Guest
Re: Using RMS/SDSF "?" Functionality in CMOD
« Reply #6 on: December 06, 2016, 12:38:31 PM »
This sounds great!  Thanks!  But I have a couple questions.  If this is part of ARSYSPIN, do the different parts still come out as separate documents, or does this option keep it all in one document, but with the separators?  Also, are these separators automatically generated from the step and DD names in the job, or do you have to do make changes in the job to embed the headers yourself?

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: Using RMS/SDSF "?" Functionality in CMOD
« Reply #7 on: December 06, 2016, 01:36:37 PM »
This is part of ARSYSPIN.  A Job loaded through ARSYSPIN will come out as a single document with each beginning and ending separator record on their own page within the document.
Something like:
Page 1:  "B        O#32AOD2-JOB20607 JES2    JESMSGLG...."
Page 2:  JES JOB LOG
Page 3:  "E        O#32AOD2-JOB20607 JES2    JESMSGLG..."
Page 4:  "B        O#32AOD2-JOB20607  JES2    JESJCL....."
Page 5:  JES JCL
....


The header records are generated automatically from the DD names, no JCL changes necessary.  That's one of the big benefits of use ARSYSPIN.  It handles JES formats and spool datasets for you.

AllenS

  • Guest
Re: Using RMS/SDSF "?" Functionality in CMOD
« Reply #8 on: December 06, 2016, 01:57:36 PM »
Awesome, thanks!  I was under the impression from the earlier responses that ARSYSPIN would only split the job into separate documents.  I'll pass this along and see if we can use it.  Thanks again!