Discussion:
Job output capturing specific output
(too old to reply)
Jake Anderson
2017-02-07 16:40:12 UTC
Permalink
Raw Message
Hi

I am able to read the Job output using SDSF rexx but I am looking to
extract only a specific SYSOUTS from a Job in Spool.

Does anyone has a sample rexx that I can use as a sample ?

Jake

----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO TSO-REXX
Anania, Philip D
2017-02-07 17:03:37 UTC
Permalink
Raw Message
Hi Jake,

I have sent you an email from my personal email account as I do not know
how to upload here. I use a MAC at home so was not sure what would happen
if I tried to download DOCX type files to my mac from work and then pass
them on. I hope the email and attachments arrive and that they are of use
to you regarding your request.

P
Post by Jake Anderson
Hi
I am able to read the Job output using SDSF rexx but I am looking to
extract only a specific SYSOUTS from a Job in Spool.
Does anyone has a sample rexx that I can use as a sample ?
Jake
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
--

"Go about your Music citizen"

----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO TSO-REXX
Dyck, Lionel B. , TRA
2017-02-07 17:48:20 UTC
Permalink
Raw Message
You might check out my SDSFEXT (SDSF Extract) code at http://lbdsoftware.com/sdsfext120.zip

This is a simple to use routine that should do what you want. It does pre-date SDSF REXX but since it works (and I no longer work with SDSF) I haven't updated it for the new SDSF REXX capabilities.

Hope this helps


--------------------------------------------------------------------------
Lionel B. Dyck
Mainframe Systems Programmer - TRA
Enterprise Operations (Station 200) (005OP6.3.10)
Information and Technology, IT Operations and Services
Paul Gilmartin
2017-02-07 17:24:04 UTC
Permalink
Raw Message
Post by Jake Anderson
I am able to read the Job output using SDSF rexx but I am looking to
extract only a specific SYSOUTS from a Job in Spool.
Does anyone has a sample rexx that I can use as a sample ?
See: • z/OS 2.1.0
• SDSF
• z/OS SDSF Operation and Customization
• Using SDSF with the REXX programming language
• Examples of REXX execs

-- gil

----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO TSO-REXX
Farley, Peter x23353
2017-02-07 18:10:33 UTC
Permalink
Raw Message
Trying an experiment here. I will try to attach a text file of a program I put together based on the BUILDPDS sample exec from RedBook SG24-7419-00 "Implementing REXX Support in SDSF". It has a number of enhancements compared to the original BUILDPDS program.

I named my version SDSFETCH, so the text file is named sdsfetch.txt. I hope it comes through my corporate mail server and the list server cleanly.

Example of invoking SDSFETCH:

//FETCH EXEC PGM=IKJEFT01,REGION=250M,DYNAMNBR=100
//SYSEXEC DD DISP=SHR,DSN=TSOUSER.TEST.EXEC
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SDSFETCH JOB(TSOUESR1) DSN(PROGRAM.ERRRPT) UNIT(SYSDA) DDNAME(ERRRPT) +
JOBID(57289)
SDSFETCH JOB(TSOUESR1) DSN(PROGRAM.ERRRPT) MOD DDNAME(ERRRPT) +
JOBID(57293,57297,57300,57301,57303,57305,57309,57312,57314,57320)
//*

HTH

Peter

-----Original Message-----
From: TSO REXX Discussion List [mailto:TSO-***@VM.MARIST.EDU] On Behalf Of Jake Anderson
Sent: Tuesday, February 07, 2017 11:41 AM
To: TSO-***@VM.MARIST.EDU
Subject: Job output capturing specific output

Hi

I am able to read the Job output using SDSF rexx but I am looking to
extract only a specific SYSOUTS from a Job in Spool.

Does anyone has a sample rexx that I can use as a sample ?

Jake

----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO TSO-REXX

This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.
Dyck, Lionel B. , TRA
2017-02-07 18:20:50 UTC
Permalink
Raw Message
Very nice - thank you


--------------------------------------------------------------------------
Lionel B. Dyck
Mainframe Systems Programmer - TRA
Enterprise Operations (Station 200) (005OP6.3.10)
Information and Technology, IT Operations and Services


-----Original Message-----
From: TSO REXX Discussion List [mailto:TSO-***@VM.MARIST.EDU] On Behalf Of Farley, Peter x23353
Sent: Tuesday, February 07, 2017 12:11 PM
To: TSO-***@VM.MARIST.EDU
Subject: [EXTERNAL] Re: [TSO-REXX] Job output capturing specific output

Trying an experiment here. I will try to attach a text file of a program I put together based on the BUILDPDS sample exec from RedBook SG24-7419-00 "Implementing REXX Support in SDSF". It has a number of enhancements compared to the original BUILDPDS program.

I named my version SDSFETCH, so the text file is named sdsfetch.txt. I hope it comes through my corporate mail server and the list server cleanly.

Example of invoking SDSFETCH:

//FETCH EXEC PGM=IKJEFT01,REGION=250M,DYNAMNBR=100
//SYSEXEC DD DISP=SHR,DSN=TSOUSER.TEST.EXEC
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SDSFETCH JOB(TSOUESR1) DSN(PROGRAM.ERRRPT) UNIT(SYSDA) DDNAME(ERRRPT) +
JOBID(57289)
SDSFETCH JOB(TSOUESR1) DSN(PROGRAM.ERRRPT) MOD DDNAME(ERRRPT) +
JOBID(57293,57297,57300,57301,57303,57305,57309,57312,57314,57320)
//*

HTH

Peter

-----Original Message-----
From: TSO REXX Discussion List [mailto:TSO-***@VM.MARIST.EDU] On Behalf Of Jake Anderson
Sent: Tuesday, February 07, 2017 11:41 AM
To: TSO-***@VM.MARIST.EDU
Subject: Job output capturing specific output

Hi

I am able to read the Job output using SDSF rexx but I am looking to extract only a specific SYSOUTS from a Job in Spool.

Does anyone has a sample rexx that I can use as a sample ?

Jake

----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions, send email to ***@VM.MARIST.EDU with the message: INFO TSO-REXX

This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.
Loading...