This whole thing confuses me: it seems like it should be easier than it is.
I've had mixed results, as apparently you have. However, this works for me
currently:
//JAVAJVM EXEC PGM=JVMLDM&VERSION,REGION=®SIZE,
// PARM='&LEPARM/&LOGLVL &JAVACLS'
//SYSOUT DD SYSOUT=*,SEGMENT=24
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD DUMMY
//CEEDUMP DD DUMMY
//STDOUT DD SYSOUT=*,SEGMENT=24
//STDERR DD SYSOUT=*,SEGMENT=24
Every hour I write a formfeed out. I.E.
System.out.println("\f");
The output then gets broken into segments every 24 formfeeds, and each segment
can be individually purged.
(Yeah, I only do it for stdout--that's the thing that normally gets lots of
output.)
In SDSF, on the ST panel, I can see the individual segment IDs:
SDSF JOB DATA SET DIS
COMMAND INPUT ===>
PREFIX=RTM* DEST=(AL
NP DDNAME SegID
JESMSGLG
JESJCL
JESYSMSG
SYSOUT 1
SYSPRINT
STDOUT 1
STDERR 1
STDOUT 2
STDOUT 3
As far as I can tell, you have to get the output into separate segments to be
able to purge the individual outputs. And it seems like FREE=CLOSE comes into
play somehow here, but I can't remember how.
This is all JES2, I know nothing of JES3.
I hope that somehow helps instead of confusing.
Scott
On Wed, 30 Jan 2013 19:02:25 -0800, Phil Smith <[email protected]> wrote:
>We have a started task running. It has various SPOOL files open, to which it's
>writing - SYSPRINT et al., including SYS00001. We have a LOG SPIN command,
>which can close SYS00001; subsequent output to that DD then goes to SYS00002.
>
>Should we then be able to purge the SYS00001? It's closed - nothing is writing
>to it. but P in SDSF says "INVALID COMMAND".
>
>This is an issue because the whole point of doing a LOG SPIN is to be able to
>purge the closed piece of the log. What am I missing? Is there a way to purge
>the file?
>
>Thanks for any advice/thoughts/whatever.
>--
>...phsiii
>
>----------------------------------------------------------------------
>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