Maybe you should consider a different approach.  Instead of trying to do the 
time dependent stuff on the OFFOAD itself maybe you could do something with the 
$T O JOB command.  Maybe setup the OFFLOAD to look for a unique DESTID and then 
alter the output to that DESTID after being in the spool for "X" days.  You 
could maybe use the JES2 timer commands function to kick off the process once 
(or more) a day.  Or if you have an automation tool you could use it to fire 
off the commands.

So maybe look at the $T O command in combination with the OFFLOAD.

Just a thought...

Paul

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Samuel Alejandro Díaz Chávez
Sent: Sunday, June 16, 2024 2:04 PM
To: [email protected]
Subject: Re: WS JES2 SPOOL OFFLOAD

The problem is that I don't see a time-based option. That is why I am asking 
for your support

De: IBM Mainframe Discussion List <[email protected]> en nombre de Allan 
Staller <[email protected]>
Fecha: viernes, 14 de junio de 2024, 6:31 a.m.
Para: [email protected] <[email protected]>
Asunto: Re: WS JES2 SPOOL OFFLOAD
Classification: Confidential

Check the selection criteria in the $TOFFLOAD command, It should do what you 
want,


-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Samuel Alejandro Díaz Chávez
Sent: Thursday, June 13, 2024 9:46 PM
To: [email protected]
Subject: WS JES2 SPOOL OFFLOAD

[CAUTION: This Email is from outside the Organization. Unless you trust the 
sender, Don’t click links or open attachments as it may be a Phishing email, 
which can steal your Information and compromise your Computer.]

Good evening and best regards to all.

I would like to ask about an issue which is new for those of us who are 
implementing the SPOOL OFFLOAD option.

But we want to generate the SYSOUT transmit to the OFFLOAD file, but we want 
the selection or the option to be for the time that the output has in the spool.

Example: If we have processes that start with APSP*, and they have more than 7 
days in the spool, that the transmit is done.

Thank you very much for your support.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. E-mail transmission is not guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or may contain viruses in transmission. 
The e mail and its contents (with or without referred errors) shall therefore 
not attach any liability on the originator or HCL or its affiliates. Views or 
opinions, if any, presented in this email are solely those of the author and 
may not necessarily reflect the views or opinions of HCL or its affiliates. Any 
form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of this message without the prior written 
consent of authorized representative of HCL is strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any email and/or attachments, please check them for 
viruses and other defects.
________________________________

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to