Re: Spool entire job to a file?

2021-08-20 Thread S.Karthik Premnath
Just adding to the solution.. alternatively try out the below snippet which
will save all job logs from spool with cics8* as prefix.

/*REXX*/
ISFTRACE="ON"
SMFID=MVSVAR('SYSNAME')
RC=ISFCALLS("ON")
ISFPREFIX="CICS8*"
ADDRESS SDSF("ISFEXEC ST")
DO I = 1 TO JNAME.0
HLQ=CICS8
RCX=RIGHT(RETCODE.I,5)
SRCX=STRIP(RCX)
CALL PRINT_ATTRI
ADDRESS SDSF "ISFACT ST TOKEN('"TOKEN.I"') PARM(NP XDC)"
LRC=RC
IF LRC<>0 THEN EXIT 20
END
EXIT 0
RC=ISFCALLS("OFF")
PRINT_ATTRI:
ISFPRTBLKSIZE = '0'
ISFPRTDISP = 'NEW'
ISFPRTLRECL = '300'
ISFPRTPRIMARY = '20'
ISFPRTRECFM = 'FB'
ISFPRTSECONDARY = '20'
ISFPRTSPACETYPE = 'CYLS'
ISFPRTUNIT = '3390'
ISFPRTDSNAME="'"HLQ".CICS."SMFID"."JNAME.I"."JOBID.I".RC"SRCX"'"
RETURN

Thanks,
Karthik Premnath.

On Fri, Aug 20, 2021 at 2:34 AM Billy Ashton  wrote:

> Sure...I will try to copy it out tomorrow for you...
>
> kekronbekron wrote on 8/18/2021 23:15:
> > If you don't mind, can you show us how.
> >
> > - KB
> >
> > ‐‐‐ Original Message ‐‐‐
> >
> > On Thursday, August 19th, 2021 at 5:33 AM, Billy Ashton <
> bill00ash...@gmail.com> wrote:
> >
> >> I found a way to call the Sysview batch processing program from my JCL,
> >>
> >> and I can save the whole job as I wanted.
> >>
> >> Thanks to everyone for your suggestions--I really like the way this
> >>
> >> group thinks out of the box!
> >>
> >> Billy
> >>
> >> Billy Ashton wrote on 8/18/2021 13:56:
> >>
> >>> Thanks, Lizette! I will give this a try.
> >>>
> >>> Billy
> >>>
> >>> Lizette Koehler wrote:
> >>>
> >>>> Go to the internet and look for John McKown's JES2DISK in a GIT Hub
> >>>>
> >>>> It will do what you want and it is free
> >>>>
> >>>> Lizette
> >>>>
> >>>> -Original Message-
> >>>>
> >>>> From: IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU On
> >>>>
> >>>> Behalf Of Billy Ashton
> >>>>
> >>>> Sent: Wednesday, August 18, 2021 6:47 AM
> >>>>
> >>>> To: IBM-MAIN@LISTSERV.UA.EDU
> >>>>
> >>>> Subject: Spool entire job to a file?
> >>>>
> >>>> Hi all...I have a need to run a bunch of jobs to do some changes to
> >>>>
> >>>> files, and we want to preserve the output of all these jobs for
> >>>>
> >>>> auditors. Is there a way to use an OUTPUT statement or something in
> >>>>
> >>>> the job itself that can redirect the entire job output to a PDS
> >>>>
> >>>> member? We don't have a Spooler utility on this LPAR, so I am trying
> >>>>
> >>>> to find an easy way to capture these jobs.
> >>>>
> >>>> TIA!
> >>>>
> >>>> Billy
> >>>>
> >>>> For IBM-MAIN subscribe / signoff / archive access instructions, send
> >>>>
> >>>> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >>>>
> >>>> For IBM-MAIN subscribe / signoff / archive access instructions,
> >>>>
> >>>> send email to lists...@listserv.ua.edu with the message: INFO
> IBM-MAIN
> >> --
> >>
> >> For IBM-MAIN subscribe / signoff / archive access instructions,
> >>
> >> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-19 Thread Billy Ashton

Sure...I will try to copy it out tomorrow for you...

kekronbekron wrote on 8/18/2021 23:15:

If you don't mind, can you show us how.

- KB

‐‐‐ Original Message ‐‐‐

On Thursday, August 19th, 2021 at 5:33 AM, Billy Ashton 
 wrote:


I found a way to call the Sysview batch processing program from my JCL,

and I can save the whole job as I wanted.

Thanks to everyone for your suggestions--I really like the way this

group thinks out of the box!

Billy

Billy Ashton wrote on 8/18/2021 13:56:


Thanks, Lizette! I will give this a try.

Billy

Lizette Koehler wrote:


Go to the internet and look for John McKown's JES2DISK in a GIT Hub

It will do what you want and it is free

Lizette

-Original Message-

From: IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU On

Behalf Of Billy Ashton

Sent: Wednesday, August 18, 2021 6:47 AM

To: IBM-MAIN@LISTSERV.UA.EDU

Subject: Spool entire job to a file?

Hi all...I have a need to run a bunch of jobs to do some changes to

files, and we want to preserve the output of all these jobs for

auditors. Is there a way to use an OUTPUT statement or something in

the job itself that can redirect the entire job output to a PDS

member? We don't have a Spooler utility on this LPAR, so I am trying

to find an easy way to capture these jobs.

TIA!

Billy

For IBM-MAIN subscribe / signoff / archive access instructions, send

email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread kekronbekron
If you don't mind, can you show us how.

- KB

‐‐‐ Original Message ‐‐‐

On Thursday, August 19th, 2021 at 5:33 AM, Billy Ashton 
 wrote:

> I found a way to call the Sysview batch processing program from my JCL,
>
> and I can save the whole job as I wanted.
>
> Thanks to everyone for your suggestions--I really like the way this
>
> group thinks out of the box!
>
> Billy
>
> Billy Ashton wrote on 8/18/2021 13:56:
>
> > Thanks, Lizette! I will give this a try.
> >
> > Billy
> >
> > Lizette Koehler wrote:
> >
> > > Go to the internet and look for John McKown's JES2DISK in a GIT Hub
> > >
> > > It will do what you want and it is free
> > >
> > > Lizette
> > >
> > > -Original Message-
> > >
> > > From: IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU On
> > >
> > > Behalf Of Billy Ashton
> > >
> > > Sent: Wednesday, August 18, 2021 6:47 AM
> > >
> > > To: IBM-MAIN@LISTSERV.UA.EDU
> > >
> > > Subject: Spool entire job to a file?
> > >
> > > Hi all...I have a need to run a bunch of jobs to do some changes to
> > >
> > > files, and we want to preserve the output of all these jobs for
> > >
> > > auditors. Is there a way to use an OUTPUT statement or something in
> > >
> > > the job itself that can redirect the entire job output to a PDS
> > >
> > > member? We don't have a Spooler utility on this LPAR, so I am trying
> > >
> > > to find an easy way to capture these jobs.
> > >
> > > TIA!
> > >
> > > Billy
> > >
> > > For IBM-MAIN subscribe / signoff / archive access instructions, send
> > >
> > > email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> > >
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > >
> > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
>
> For IBM-MAIN subscribe / signoff / archive access instructions,
>
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread Billy Ashton
I found a way to call the Sysview batch processing program from my JCL, 
and I can save the whole job as I wanted.


Thanks to everyone for your suggestions--I really like the way this 
group thinks out of the box!


Billy

Billy Ashton wrote on 8/18/2021 13:56:

Thanks, Lizette! I will give this a try.
Billy

Lizette Koehler wrote:


Go to the internet and look for John McKown's JES2DISK in a GIT Hub

It will do what you want and it is free

Lizette



-Original Message-
From: IBM Mainframe Discussion List  On 
Behalf Of Billy Ashton

Sent: Wednesday, August 18, 2021 6:47 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Spool entire job to a file?

Hi all...I have a need to run a bunch of jobs to do some changes to 
files, and we want to preserve the output of all these jobs for 
auditors. Is there a way to use an OUTPUT statement or something in 
the job itself that can redirect the entire job output to a PDS 
member? We don't have a Spooler utility on this LPAR, so I am trying 
to find an easy way to capture these jobs.

TIA!
Billy

--
For IBM-MAIN subscribe / signoff / archive access instructions, send 
email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN 



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread Billy Ashton

Thanks, Lizette! I will give this a try.
Billy

Lizette Koehler wrote:


Go to the internet and look for John McKown's JES2DISK in a GIT Hub

It will do what you want and it is free

Lizette



-Original Message-
From: IBM Mainframe Discussion List  On 
Behalf Of Billy Ashton

Sent: Wednesday, August 18, 2021 6:47 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Spool entire job to a file?

Hi all...I have a need to run a bunch of jobs to do some changes to 
files, and we want to preserve the output of all these jobs for 
auditors. Is there a way to use an OUTPUT statement or something in 
the job itself that can redirect the entire job output to a PDS 
member? We don't have a Spooler utility on this LPAR, so I am trying 
to find an easy way to capture these jobs.

TIA!
Billy

--
For IBM-MAIN subscribe / signoff / archive access instructions, send 
email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread Lizette Koehler
Go to the internet and look for John McKown's JES2DISK in a GIT Hub

It will do what you want and it is free

Lizette



-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Billy Ashton
Sent: Wednesday, August 18, 2021 6:47 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Spool entire job to a file?

Hi all...I have a need to run a bunch of jobs to do some changes to files, and 
we want to preserve the output of all these jobs for auditors. Is there a way 
to use an OUTPUT statement or something in the job itself that can redirect the 
entire job output to a PDS member? We don't have a Spooler utility on this 
LPAR, so I am trying to find an easy way to capture these jobs.
TIA!
Billy

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread Charles Mills
What comes to my mind is FTP.

SITE FILETYPE=JES
GET  JOB01234

Yes, there are some configuration requirements.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Billy Ashton
Sent: Wednesday, August 18, 2021 6:47 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Spool entire job to a file?

Hi all...I have a need to run a bunch of jobs to do some changes to 
files, and we want to preserve the output of all these jobs for 
auditors. Is there a way to use an OUTPUT statement or something in the 
job itself that can redirect the entire job output to a PDS member? We 
don't have a Spooler utility on this LPAR, so I am trying to find an 
easy way to capture these jobs.
TIA!
Billy

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: [EXTERNAL] Re: Spool entire job to a file?

2021-08-18 Thread Paul Gilmartin
On Wed, 18 Aug 2021 14:32:29 +, Barkow, Eileen wrote:

>There is a redbook named 'IMPLEMENTING REXX SUPPORT IN SDSF' which contains a 
>chapter about copying sysout datasets to a  PDS, among a lot of other examples.
>
>ibm.com/redbooks
>
(GIYF)

I wrote a Rexx program, largely based on examples in the SDSF Ref. to
extract all spool files for a job into a UNIX hierarchy:
Job/step/procstep/ddname.id

I had to guess at the tagging: SYSPUNCH=BINARY,SYSPRINT=text, etc.
And JES spool has no indication of CCSID.

It attracted scant attention from my co-workers ("UNIX?  WTF!")

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread Seymour J Metz
Your best bet is an XDC line command in SDSF. An external writer won't separate 
the jobs for you.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Billy Ashton [bill00ash...@gmail.com]
Sent: Wednesday, August 18, 2021 9:46 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Spool entire job to a file?

Hi all...I have a need to run a bunch of jobs to do some changes to
files, and we want to preserve the output of all these jobs for
auditors. Is there a way to use an OUTPUT statement or something in the
job itself that can redirect the entire job output to a PDS member? We
don't have a Spooler utility on this LPAR, so I am trying to find an
easy way to capture these jobs.
TIA!
Billy

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: [EXTERNAL] Re: Spool entire job to a file?

2021-08-18 Thread Barkow, Eileen
There is a redbook named 'IMPLEMENTING REXX SUPPORT IN SDSF' which contains a 
chapter about copying sysout datasets to a  PDS, among a lot of other examples.

ibm.com/redbooks

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
kekronbekron
Sent: Wednesday, August 18, 2021 10:22 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: Spool entire job to a file?

THIS MESSAGE IS FROM AN EXTERNAL SENDER
Use caution when clicking on links or attachments and never provide your 
username or password. Not sure? Report this email to ph...@cyber.nyc.gov.





What I do is:

- type in a + in the NP column to expand it
- sort pos a (oldest job comes at the top)
- //xdc on the top job
- // on the bottom job
- enter some PDS name with MOD and name the members @JOB01... so that you can 
press enter, change 1 to 2, press enter, change 2 to 3, etc.

Savings JCLs itself... well... better if they were saved in a PDS before they 
were run.
Like in an .INSTALL PDS.

- KB

‐‐‐ Original Message ‐‐‐

On Wednesday, August 18th, 2021 at 7:45 PM, David Spiegel 
 wrote:

> Yeah, but, that won't split it into members.
>
> On 2021-08-18 09:52, Mark Jacobs wrote:
>
> > Use the JES2 external writer perhaps.
> >
> > Mark Jacobs
> >
> > Sent from ProtonMail, Swiss-based encrypted email.
> >
> > GPG Public Key -
> > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fap
> > i.protonmail.ch%2Fpks%2Flookup%3Fop%3Dget%26search%3Dmarkjacobs%40pr
> > otonmail.comdata=04%7C01%7Cebarkow%40doitt.nyc.gov%7C564d2b82ec
> > b644dc67c108d96253eab6%7C73d61799c28440228d4154cc4f1929ef%7C0%7C0%7C
> > 637648934901701771%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQI
> > joiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=iNDQeIcw1
> > 9XfFV5YDyFIvSQPOMaDKcrAv0PuhmP%2FVjc%3Dreserved=0
> >
> > ‐‐‐ Original Message ‐‐‐
> >
> > On Wednesday, August 18th, 2021 at 9:46 AM, Billy Ashton 
> > bill00ash...@gmail.com wrote:
> >
> > > Hi all...I have a need to run a bunch of jobs to do some changes
> > > to
> > >
> > > files, and we want to preserve the output of all these jobs for
> > >
> > > auditors. Is there a way to use an OUTPUT statement or something
> > > in the
> > >
> > > job itself that can redirect the entire job output to a PDS
> > > member? We
> > >
> > > don't have a Spooler utility on this LPAR, so I am trying to find
> > > an
> > >
> > > easy way to capture these jobs.
> > >
> > > TIA!
> > >
> > > Billy
> > >
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > >
> > > send email to lists...@listserv.ua.edu with the message: INFO
> > > IBM-MAIN
> >
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> >
> > send email to lists...@listserv.ua.edu with the message: INFO
> > IBM-MAIN
> >
> > .
>
> For IBM-MAIN subscribe / signoff / archive access instructions,
>
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN



This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments. Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread James Crudele
If you have sdsf there is a nifty Rexx that will output all to a pds.   Not 
sure about sysview. 


> On Aug 18, 2021, at 10:26, Billy Ashton  wrote:
> 
> Actually, we have the CA product Sysview. I am looking to see if there is an 
> easy way to do this in there.
> 
> James Crudele wrote:
>> 
>> No SDSF?
>> 
>>> 
>>>> On Aug 18, 2021, at 09:56, Mike Shorkend  wrote:
>>> 
>>> Spool Offload?
>>> 
>>> -Original Message-
>>> From: IBM Mainframe Discussion List  On Behalf Of 
>>> Billy Ashton
>>> Sent: Wednesday, 18 August 2021 16:47
>>> To: IBM-MAIN@LISTSERV.UA.EDU
>>> Subject: Spool entire job to a file?
>>> 
>>> Hi all...I have a need to run a bunch of jobs to do some changes to files, 
>>> and we want to preserve the output of all these jobs for auditors. Is there 
>>> a way to use an OUTPUT statement or something in the job itself that can 
>>> redirect the entire job output to a PDS member? We don't have a Spooler 
>>> utility on this LPAR, so I am trying to find an easy way to capture these 
>>> jobs.
>>> TIA!
>>> Billy
>>> 
>>> --
>>> For IBM-MAIN subscribe / signoff / archive access instructions, send email 
>>> to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>> 
>>> --
>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>> 
>> 
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread Billy Ashton
Actually, we have the CA product Sysview. I am looking to see if there 
is an easy way to do this in there.


James Crudele wrote:


No SDSF?



On Aug 18, 2021, at 09:56, Mike Shorkend  wrote:

Spool Offload?

-Original Message-
From: IBM Mainframe Discussion List  On 
Behalf Of Billy Ashton

Sent: Wednesday, 18 August 2021 16:47
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Spool entire job to a file?

Hi all...I have a need to run a bunch of jobs to do some changes to 
files, and we want to preserve the output of all these jobs for 
auditors. Is there a way to use an OUTPUT statement or something in 
the job itself that can redirect the entire job output to a PDS 
member? We don't have a Spooler utility on this LPAR, so I am trying 
to find an easy way to capture these jobs.

TIA!
Billy

--
For IBM-MAIN subscribe / signoff / archive access instructions, send 
email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread James Crudele
No SDSF?

> On Aug 18, 2021, at 09:56, Mike Shorkend  wrote:
> 
> Spool Offload?
> 
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf Of 
> Billy Ashton
> Sent: Wednesday, 18 August 2021 16:47
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Spool entire job to a file?
> 
> Hi all...I have a need to run a bunch of jobs to do some changes to files, 
> and we want to preserve the output of all these jobs for auditors. Is there a 
> way to use an OUTPUT statement or something in the job itself that can 
> redirect the entire job output to a PDS member? We don't have a Spooler 
> utility on this LPAR, so I am trying to find an easy way to capture these 
> jobs.
> TIA!
> Billy
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
> lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread kekronbekron
What I do is:

- type in a + in the NP column to expand it
- sort pos a (oldest job comes at the top)
- //xdc on the top job
- // on the bottom job
- enter some PDS name with MOD and name the members @JOB01... so that you can 
press enter, change 1 to 2, press enter, change 2 to 3, etc.

Savings JCLs itself... well... better if they were saved in a PDS before they 
were run.
Like in an .INSTALL PDS.

- KB

‐‐‐ Original Message ‐‐‐

On Wednesday, August 18th, 2021 at 7:45 PM, David Spiegel 
 wrote:

> Yeah, but, that won't split it into members.
>
> On 2021-08-18 09:52, Mark Jacobs wrote:
>
> > Use the JES2 external writer perhaps.
> >
> > Mark Jacobs
> >
> > Sent from ProtonMail, Swiss-based encrypted email.
> >
> > GPG Public Key - 
> > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapi.protonmail.ch%2Fpks%2Flookup%3Fop%3Dget%26search%3Dmarkjacobs%40protonmail.com=04|01||8f7a395fa6c14f50254708d9624fe2fc|84df9e7fe9f640afb435|1|0|637648917528120913|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000=W%2FZlNjr1nWRyT0aOnnP6D%2FjFR3zSt%2BxpIDm48VRFWLA%3D=0
> >
> > ‐‐‐ Original Message ‐‐‐
> >
> > On Wednesday, August 18th, 2021 at 9:46 AM, Billy Ashton 
> > bill00ash...@gmail.com wrote:
> >
> > > Hi all...I have a need to run a bunch of jobs to do some changes to
> > >
> > > files, and we want to preserve the output of all these jobs for
> > >
> > > auditors. Is there a way to use an OUTPUT statement or something in the
> > >
> > > job itself that can redirect the entire job output to a PDS member? We
> > >
> > > don't have a Spooler utility on this LPAR, so I am trying to find an
> > >
> > > easy way to capture these jobs.
> > >
> > > TIA!
> > >
> > > Billy
> > >
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > >
> > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> >
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> > .
>
> For IBM-MAIN subscribe / signoff / archive access instructions,
>
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread David Spiegel

Yeah, but, that won't split it into members.

On 2021-08-18 09:52, Mark Jacobs wrote:

Use the JES2 external writer perhaps.

Mark Jacobs

Sent from ProtonMail, Swiss-based encrypted email.

GPG Public Key - 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapi.protonmail.ch%2Fpks%2Flookup%3Fop%3Dget%26search%3Dmarkjacobs%40protonmail.comdata=04%7C01%7C%7C8f7a395fa6c14f50254708d9624fe2fc%7C84df9e7fe9f640afb435%7C1%7C0%7C637648917528120913%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=W%2FZlNjr1nWRyT0aOnnP6D%2FjFR3zSt%2BxpIDm48VRFWLA%3Dreserved=0

‐‐‐ Original Message ‐‐‐

On Wednesday, August 18th, 2021 at 9:46 AM, Billy Ashton 
 wrote:


Hi all...I have a need to run a bunch of jobs to do some changes to

files, and we want to preserve the output of all these jobs for

auditors. Is there a way to use an OUTPUT statement or something in the

job itself that can redirect the entire job output to a PDS member? We

don't have a Spooler utility on this LPAR, so I am trying to find an

easy way to capture these jobs.

TIA!

Billy

--

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread Mike Shorkend
Spool Offload?

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Billy Ashton
Sent: Wednesday, 18 August 2021 16:47
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Spool entire job to a file?

Hi all...I have a need to run a bunch of jobs to do some changes to files, and 
we want to preserve the output of all these jobs for auditors. Is there a way 
to use an OUTPUT statement or something in the job itself that can redirect the 
entire job output to a PDS member? We don't have a Spooler utility on this 
LPAR, so I am trying to find an easy way to capture these jobs.
TIA!
Billy

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread Mark Jacobs
Use the JES2 external writer perhaps.

Mark Jacobs

Sent from ProtonMail, Swiss-based encrypted email.

GPG Public Key - 
https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com

‐‐‐ Original Message ‐‐‐

On Wednesday, August 18th, 2021 at 9:46 AM, Billy Ashton 
 wrote:

> Hi all...I have a need to run a bunch of jobs to do some changes to
>
> files, and we want to preserve the output of all these jobs for
>
> auditors. Is there a way to use an OUTPUT statement or something in the
>
> job itself that can redirect the entire job output to a PDS member? We
>
> don't have a Spooler utility on this LPAR, so I am trying to find an
>
> easy way to capture these jobs.
>
> TIA!
>
> Billy
>
> --
>
> For IBM-MAIN subscribe / signoff / archive access instructions,
>
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spool entire job to a file?

2021-08-18 Thread David Spiegel

Hi Billy,
If you have SDSF, you XDC the Job to a Dataset.

Regards,
David

On 2021-08-18 09:46, Billy Ashton wrote:
Hi all...I have a need to run a bunch of jobs to do some changes to 
files, and we want to preserve the output of all these jobs for 
auditors. Is there a way to use an OUTPUT statement or something in 
the job itself that can redirect the entire job output to a PDS 
member? We don't have a Spooler utility on this LPAR, so I am trying 
to find an easy way to capture these jobs.

TIA!
Billy

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Spool entire job to a file?

2021-08-18 Thread Billy Ashton
Hi all...I have a need to run a bunch of jobs to do some changes to 
files, and we want to preserve the output of all these jobs for 
auditors. Is there a way to use an OUTPUT statement or something in the 
job itself that can redirect the entire job output to a PDS member? We 
don't have a Spooler utility on this LPAR, so I am trying to find an 
easy way to capture these jobs.

TIA!
Billy

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN