¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Automating cleanup of printer output files


 

Hello Drew,

Am 20.07.2020 um 04:11 schrieb Drew Derbyshire <swhobbit@...>:

You may solving the wrong problem. :-)
Maybe? At the moment, I mostly care about me not needing to to housekeeping. What are computers actually for, if not for automating boring and repetitive tasks? :-)

It takes the raw monolithic JES2 output and splits the SYSOUT by JOB/TSU/STC. Thus you don't have to purge all or nothing.
Thanks for the hint. Maybe in a later point in time, I'll reconsider my approach, especially when considering printing reports to PDF. First, I want to get accustomed to JCL, to VSAM, and then to COBOL with KICKS4TSO. (I'm already having great fun with my old AS/400 writing small applications for housekeeping with just a few database files.)

Right now, I'm just not doing enough serious stuff with the machine. ATM, I'm just fine with another shell window, 132 chars wide and a tail -f on prt00e running inside.

find /my/print/directory -type f -name '*.txt' -atime +5 -ls -delete
Note that NO commands need to be issued to Hercules (and you don't wipe out everything at once.)
Thanks, I noticed. Just a hint (and not meant as being cocky): I'm using Linux since 1995, and I'm a Linux System Administrator since around 1997. I'm just new to MVS.

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE -

Join [email protected] to automatically receive all group messages.