Thanks David, I am aware of how to use the XDC prefix, but I was requesting a 
NON-interactive batch solution.

Running SDSF in batch using the PRINT command seems to be the only option aside 
from the MVS WRITELOG command.

Peter

From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
David Spiegel
Sent: Monday, August 18, 2025 3:22 PM
To: [email protected]
Subject: Re: Batch printing SYSLOG/OPERLOG


Hi R'ITschak AMV"SH,

It's also possible to place XDC to the left of your SYSOUT, press Enter

and be prompted for parameters.



Regards,

David



On 2025-08-18 12:48, ITschak Mugzach wrote:

> PRINT ODSN 'RPT2.PRINT' * NEW

> Print

> Print close

>

> ITschak Mugzach

> *|** IronSphere Platform* *|* *Information Security Continuous Monitoring

> for z/OS, x/Linux & IBM I **| z/VM coming soon  *

>

> nbsp; *|*

>

> On Mon, Aug 18, 2025 at 6:59 PM Farley, Peter <

> [email protected]<mailto:[email protected]>>
>  wrote:

>

>> All I can find from various searches at ibm.com are instructions to use

>> the SDSF PRINT command to print the contents of SYSLOG/OPERLOG to a dataset.

>>

>> Is there a simple batch utility to perform this function, or must I write

>> a Rexx script to use the SDSF interface to copy to a file?  If SDSF is the

>> only alternative, is there already a sample Rexx to do so supplied

>> somewhere?  I have experience writing Rexx SDSF scripts, but it's just

>> easier to work from a sample if one is available.

>>

>> I don't need any filtering, just a complete copy of the current log

>> contents for offline analysis.

>>

>> Peter

--

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.


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

Reply via email to