Depending upon the spool attributes - the IBM command CPYSPLF can copy into an IFS stream file - so if your goal is so the user cannot delete ...
There are limits to the type of spooled fole.
Jim
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of smith5646midrange@xxxxxxxxx
Sent: Sunday, April 19, 2020 10:30 AM
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: Duplicate automatically a QSYSPRT Spool file to another Outq
Can you change the CL (assuming it is called by a CL) to include a SNDNETSPLF?
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of gio.cot via MIDRANGE-L
Sent: Sunday, April 19, 2020 5:53 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: gio.cot <gio.cot@xxxxxxxxxxx>
Subject: Duplicate automatically a QSYSPRT Spool file to another Outq
Hi i all
I would need automatically duplicate the spool files of a specific procedure in another outq under another user ..
Example : my programA generate a QSYSPRT spool file in MyOutq , i would automatically (or in easiest way possible) duplicate the QSYSPRT from MyOutq to NewOutq under NewUser (.. before in came printed ) . Pratically , i need to save the spool in suche way the i can check them without that the user can delete them .
Thnaks in advance
Gio
--
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.