Re: Write JES data to an external data set?
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:ibm-m...@bama.ua.edu] On Behalf Of Paul Gilmartin > Sent: Tuesday, December 08, 2009 6:11 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Write JES data to an external data set? > > On Tue, 8 Dec 2009 16:28:54 -0500, Thompson, Steve wrote: > > >-Original Message- > >From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On > >Behalf Of Joe Aulph > >Sent: Tuesday, December 08, 2009 2:34 PM > > > >You might try looking at "Appendix C. The External Writer" > in the JES2 > >Initialization and Tuning Guide (SA22-7532-05). It explains > how to set > >up an external writer that might solve your problem. > > > Thinking of a Requirement, all the ideas of writers and SDSF > (and, who knows, the TSO OUTPUT command) are underreaching. > I'd like to be able to code: > > //X OUTPUT DEFAULT=YES,JESDS=ALL,PATH='/my/Unix/directory' > > and have the various spool data sets, qualified by DSID, > written to files in that directory in real time, so I > could watch them with "tail -f", unburdened by SYSDSN > ENQs. I suspect a writer could write to Unix files. Could > it do this in real time? > > -- gil What I would __LOVE__ would be a UNIX pseudo-filesystem which "mapped" into the SPOOL. So that I would see something akin to: /jes/spool/jobname/jobnumber/jes2/jesmsglg /jes/spool/jobname/jobnumber/jes2/jesjcl /jes/spool/jobname/jobnumber/jes2/jesysmsg /jes/spool/jobname/jobnumber/stepname.procstep/ddname I could then read any or all of those to get the sysouts associated with them. Subject to the JESSPOOL profiles in RACF, of course. There might be other things as well to retrieve other information on the spool. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
Thanks for the plug Gerhard. File 172, writes output to flat files, so you HAVE to tailor it for your own naming standards. You can browse etc those files with normal ISPF functions or e-mail with Lionel's excellent XMITIP. Of course, a commercial product comes with support and apparently enhancements. Your choice. DC -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Gerhard Postpischil Sent: Wednesday, December 09, 2009 12:38 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Write JES data to an external data set? Joe Aulph wrote: > I have a user that want to, as part of a batch process, write the > JESMSGLG and/or the JESYSMSG JES data sets to an external data set. > My first thoughts were that, outside of a manual SDSF process, it > can't be done. While looking through the CBT, I found a program called CHEW. The source is supplied, and could be tailored to suit. Sorry, but I don't remember the file number. Gerhard Postpischil Bradford, VT -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ___ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
Sorry for the blatant plug, but... We have an extremely low-cost but feature-rich product (SyzSPOOL) that offloads and manages the spool data to sequential files plus gives you access to the output via ISPF and any WEB browser (ie, firefox, opera, etc.). Additionally you can send the output via EMAIL or FTP in any of several formats (PDF, WORD, HTML, etc.). The interface allows you to access and manage any part of the job individually (i.e. just the JES datasets or individual DD's or the entire output). The data is fully RACF (or ACF/2 or TopSecret) protected and the output can be managed to expire at almost any interval the user can think of via the startup parms, even down to individual jobnames, classes, destinations, etc. http://syzygyinc.net/SyzSpool.aspx The regular price is $5k per site, but sites that participate IBM-Main (or Share) are provided with an additional 25% to 50% discount (depends on the products selected). There is a new version going into beta testing in January which provides several more MAJOR features than those listed on the web site for the current Version 4.3 release. If you're interested you can send me a note or use the links on the website to request more information. I believe that the manuals are also located on the website's download area. Brian Westerman -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
Joe Aulph wrote: I have a user that want to, as part of a batch process, write the JESMSGLG and/or the JESYSMSG JES data sets to an external data set. My first thoughts were that, outside of a manual SDSF process, it can't be done. While looking through the CBT, I found a program called CHEW. The source is supplied, and could be tailored to suit. Sorry, but I don't remember the file number. Gerhard Postpischil Bradford, VT -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
On Tue, 8 Dec 2009 16:28:54 -0500, Thompson, Steve wrote: >-Original Message- >From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On >Behalf Of Joe Aulph >Sent: Tuesday, December 08, 2009 2:34 PM > >You might try looking at "Appendix C. The External Writer" in the JES2 >Initialization and Tuning Guide (SA22-7532-05). It explains how to set >up an external writer that might solve your problem. > Thinking of a Requirement, all the ideas of writers and SDSF (and, who knows, the TSO OUTPUT command) are underreaching. I'd like to be able to code: //X OUTPUT DEFAULT=YES,JESDS=ALL,PATH='/my/Unix/directory' and have the various spool data sets, qualified by DSID, written to files in that directory in real time, so I could watch them with "tail -f", unburdened by SYSDSN ENQs. I suspect a writer could write to Unix files. Could it do this in real time? -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
There is a couple programs on the CBT site that I sent in a number of years ago called SOUT. It uses an exit to the sysout writer. It keeps track of all jobs by jobname, number, and date and time, and uses ISPF panels to display jobs. All the information is saved in a VSAM file, and sequential datasets on disk and tape store the output from the sysout writer. The best thing is to download it from the CBT site and look at the doc. This may be what you are looking for, and maybe not. I haven't used it for 4 years, and I didn't write any of the programs. -- Eric Bielefeld Systems Programmer IBM MVS Technical Services Dubuque, Iowa 563-845-4363 > Joe Aulph wrote: > > Hello all, > > > > I have a user that want to, as part of a batch process, write the JESMSGLG > > and/or the JESYSMSG JES data sets to an external data set. > > My first thoughts were that, outside of a manual SDSF process, it can't be > > done. > > Duty bound that I am, I've dug thru the JCL Reference discussions on OUTPUT, > > WRITERs, attempted a few tests with variations on the WRITER theme, sith no > > success. > > > > Has anyone ever heard of, or done, such a thing? Short of, possibly, an OEM > > product, which we can't afford, I can't think of one. > > > > Anyone? > > > > TIA, -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
Joe Aulph wrote: Hello all, I have a user that want to, as part of a batch process, write the JESMSGLG and/or the JESYSMSG JES data sets to an external data set. My first thoughts were that, outside of a manual SDSF process, it can't be done. Duty bound that I am, I've dug thru the JCL Reference discussions on OUTPUT, WRITERs, attempted a few tests with variations on the WRITER theme, sith no success. Has anyone ever heard of, or done, such a thing? Short of, possibly, an OEM product, which we can't afford, I can't think of one. Anyone? TIA, I don't know how much work you want to do for this, but have a look at: http://ew.share.org/client_files/callpapers/attach/SHARE_in_Austin/S2811DD095959.pdf This is a Share session that discussed using SAPI (SSI 79). There is sample code on the CBT site. -- Richard -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
Here is a generalized tool that I wrote awhile back that should help with this - it is intended to be run in batch. http://www.lbdsoftware.com/sdsfext110.zip It is called SDSF Extract and you can read about it here http://www.lbdsoftware.com/sdsfext_users_guide.pdf Lionel B. Dyck <>< z/Linux Specialist IBM Corporation Global Technology Services - Kaiser Account Work: 925-926-5332 Cell: 925-348-0237 E-Mail: ld...@us.ibm.com AIM: lbdyck | Yahoo IM: lbdyck | GTalk: lbdyck -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
I would like to understand the request. As there are several ways to approach it 1) What level of z/OS are you running? (In z/OS V1.9 you get the SDSF REXX interface) 2) When I look at a job in JES2 I see the following JESMSGLG JES2 JESJCL JES2 JESYSMSG JES2 SYSTSPRT RUNOSH OSHOUT1 RUNOSH Do you ONLY want the section called JESYSMS, Or do you want the entire JOB STREAM that was created (Print and all)? If just the JESYSMSG then you can use the SDSF Batch Interface to print that in BATCH. If you want the whole job, then again SDSF Batch can do it. If you have the SDSF REXX available (z/OS V1.8?? and above) then we have even more power. A Sample of how to use the SDSF Batch (this will print syslog to a dataset) //COPYIT EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //* //SYSUT2 DD DISP=(MOD,CATLG,DELETE),DSN=TSO.SDSF.SYSLOG, // UNIT=DISK,LRECL=133,BLKSIZE=0, // SPACE=(CYL,(10,5),RLSE) //SYSUT1 DD * SYSLOG Listing thru ISFADF SDSF batch //* //SYSIN DD DUMMY /* //BTCHSDSF EXEC PGM=ISFAFD //ISFOUT DD SYSOUT=* //SDSFLOG DD DISP=OLD,DSN=TSO.SDSF.SYSLOG //ISFINDD * LOG TOP AFD WTOR OFF AFD LOGSTAMP OFF AFD QUERY DS LOG This could be tailored for just your job and then print it to a dataset. Lizette > Joe Aulph wrote: > >I have a user that want to, as part of a batch process, write the JESMSGLG >and/or the JESYSMSG JES data sets to an external data set. >My first thoughts were that, outside of a manual SDSF process, it can't be >done. >Duty bound that I am, I've dug thru the JCL Reference discussions on OUTPUT, >WRITERs, attempted a few tests with variations on the WRITER theme, sith no >success. > >Has anyone ever heard of, or done, such a thing? Short of, possibly, an OEM >product, which we can't afford, I can't think of one. > >Anyone? > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
I have a job consisting of several sdsf batch steps and tso clists steps which archive the output of various jobs to data sets. SDSF batch does not allow many of the functions available online, but if you want a copy of my stuff I can give it to you. We also have the CA VIEW product that some applications use to archive their output. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Joe Aulph Sent: Tuesday, December 08, 2009 3:50 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Write JES data to an external data set? Mike, Thanks and my apologies for not mentioning that the PRINT ODSN was my first recomendation, he (the user) want's this as part of the batch process, doesn't want to bother with the SDSF commands. Joe On Tue, Dec 8, 2009 at 3:41 PM, Spencer, Mike wrote: > After accessing the task or joblog use the PRT ODSN 'output.dataset' > command. After this initial command, issue the PRT command which will send > the jesmsg output to the data set, then issue PRT CLOSE to close the > process. You can select the number of lines to print if you do not want the > whole thing. > > Mike Spencer > BMC Software > > -Original Message- > From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On > Behalf Of Joe Aulph > Sent: Tuesday, December 08, 2009 3:34 PM > To: IBM-MAIN@bama.ua.edu > Subject: Write JES data to an external data set? > > Hello all, > > I have a user that want to, as part of a batch process, write the JESMSGLG > and/or the JESYSMSG JES data sets to an external data set. > My first thoughts were that, outside of a manual SDSF process, it can't be > done. > Duty bound that I am, I've dug thru the JCL Reference discussions on > OUTPUT, > WRITERs, attempted a few tests with variations on the WRITER theme, sith no > success. > > Has anyone ever heard of, or done, such a thing? Short of, possibly, an OEM > product, which we can't afford, I can't think of one. > > Anyone? > > TIA, > -- > > Joe Aulph > Florida Dept. of Children & Families > Senior Systems Programmer: > 850-487-8945 > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > -- Joe Aulph, Florida Dept. of Children & Families Senior Systems Programmer: 850-487-8945 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
On Tue, 8 Dec 2009 15:34:27 -0500, Joe Aulph wrote: >Duty bound that I am, I've dug thru the JCL Reference discussions on OUTPUT, >WRITERs, attempted a few tests with variations on the WRITER theme, sith no >success. > Joe - you indicated you could not get this to work. This should work. What type of issues are you having not making this be able to work? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
-Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Joe Aulph Sent: Tuesday, December 08, 2009 2:34 PM To: IBM-MAIN@bama.ua.edu Subject: Write JES data to an external data set? Hello all, I have a user that want to, as part of a batch process, write the JESMSGLG and/or the JESYSMSG JES data sets to an external data set. My first thoughts were that, outside of a manual SDSF process, it can't be done. Duty bound that I am, I've dug thru the JCL Reference discussions on OUTPUT, WRITERs, attempted a few tests with variations on the WRITER theme, sith no success. Has anyone ever heard of, or done, such a thing? Short of, possibly, an OEM product, which we can't afford, I can't think of one. You might try looking at "Appendix C. The External Writer" in the JES2 Initialization and Tuning Guide (SA22-7532-05). It explains how to set up an external writer that might solve your problem. I have had the same requirements back in MVS/SP3 days and I think this is how I solved it. I've also written a writer to handle this, but I don't think you want to get that deep. Regards, Steve Thompson -- Opinions express by this poster may not reflect those of poster's employer -- -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
"SDSF REXX" and BATSO. Check the FMs! > After accessing the task or joblog use the PRT ODSN 'output.dataset' > command. After this initial command, issue the PRT command which will > send the jesmsg output to the data set, then issue PRT CLOSE to close > the process. You can select the number of lines to print if you do > not want the whole thing. > > I have a user that want to, as part of a batch process, write the JESMSGLG > and/or the JESYSMSG JES data sets to an external data set. > My first thoughts were that, outside of a manual SDSF process, it can't be > done. > Duty bound that I am, I've dug thru the JCL Reference discussions on > OUTPUT, > WRITERs, attempted a few tests with variations on the WRITER theme, sith no > success. > > Has anyone ever heard of, or done, such a thing? Short of, possibly, an OEM > product, which we can't afford, I can't think of one. > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
Mike, Thanks and my apologies for not mentioning that the PRINT ODSN was my first recomendation, he (the user) want's this as part of the batch process, doesn't want to bother with the SDSF commands. Joe On Tue, Dec 8, 2009 at 3:41 PM, Spencer, Mike wrote: > After accessing the task or joblog use the PRT ODSN 'output.dataset' > command. After this initial command, issue the PRT command which will send > the jesmsg output to the data set, then issue PRT CLOSE to close the > process. You can select the number of lines to print if you do not want the > whole thing. > > Mike Spencer > BMC Software > > -Original Message- > From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On > Behalf Of Joe Aulph > Sent: Tuesday, December 08, 2009 3:34 PM > To: IBM-MAIN@bama.ua.edu > Subject: Write JES data to an external data set? > > Hello all, > > I have a user that want to, as part of a batch process, write the JESMSGLG > and/or the JESYSMSG JES data sets to an external data set. > My first thoughts were that, outside of a manual SDSF process, it can't be > done. > Duty bound that I am, I've dug thru the JCL Reference discussions on > OUTPUT, > WRITERs, attempted a few tests with variations on the WRITER theme, sith no > success. > > Has anyone ever heard of, or done, such a thing? Short of, possibly, an OEM > product, which we can't afford, I can't think of one. > > Anyone? > > TIA, > -- > > Joe Aulph > Florida Dept. of Children & Families > Senior Systems Programmer: > 850-487-8945 > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > -- Joe Aulph, Florida Dept. of Children & Families Senior Systems Programmer: 850-487-8945 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Write JES data to an external data set?
After accessing the task or joblog use the PRT ODSN 'output.dataset' command. After this initial command, issue the PRT command which will send the jesmsg output to the data set, then issue PRT CLOSE to close the process. You can select the number of lines to print if you do not want the whole thing. Mike Spencer BMC Software -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Joe Aulph Sent: Tuesday, December 08, 2009 3:34 PM To: IBM-MAIN@bama.ua.edu Subject: Write JES data to an external data set? Hello all, I have a user that want to, as part of a batch process, write the JESMSGLG and/or the JESYSMSG JES data sets to an external data set. My first thoughts were that, outside of a manual SDSF process, it can't be done. Duty bound that I am, I've dug thru the JCL Reference discussions on OUTPUT, WRITERs, attempted a few tests with variations on the WRITER theme, sith no success. Has anyone ever heard of, or done, such a thing? Short of, possibly, an OEM product, which we can't afford, I can't think of one. Anyone? TIA, -- Joe Aulph Florida Dept. of Children & Families Senior Systems Programmer: 850-487-8945 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Write JES data to an external data set?
Hello all, I have a user that want to, as part of a batch process, write the JESMSGLG and/or the JESYSMSG JES data sets to an external data set. My first thoughts were that, outside of a manual SDSF process, it can't be done. Duty bound that I am, I've dug thru the JCL Reference discussions on OUTPUT, WRITERs, attempted a few tests with variations on the WRITER theme, sith no success. Has anyone ever heard of, or done, such a thing? Short of, possibly, an OEM product, which we can't afford, I can't think of one. Anyone? TIA, -- Joe Aulph Florida Dept. of Children & Families Senior Systems Programmer: 850-487-8945 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html