Page 1 of 1

SPOOL(TGS) FULL and can't logon

PostPosted: Tue Nov 09, 2010 1:16 pm
by nauy
hi all,
sometimes the system I use can not logon for SPOOL(TGS) FULL.

does anybody have any idea how to solve the problem ?

Re: SPOOL(TGS) FULL and can't logon

PostPosted: Tue Nov 09, 2010 2:13 pm
by enrico-sorichetti
what does the manual say about it ?
a JES cold start will certainly solve the issue!

Re: SPOOL(TGS) FULL and can't logon

PostPosted: Tue Nov 09, 2010 7:53 pm
by steve-myers
You can't resolve this problem since you can't access the system. The TGS code indicates the JES2 SPOOL space is full. How did you determine you have a TGS issue if you were unable to logon?

The system operator must (and this must be done quickly before the system itself locks up because the system cannot write SYSLOG data) determine why the SPOOL space is full and cancel the offending job. Once the system locks up, the only solution is a system IPL with a JES2 cold start.

Re: SPOOL(TGS) FULL and can't logon

PostPosted: Thu Nov 11, 2010 7:26 am
by nauy
steve-myers wrote:You can't resolve this problem since you can't access the system. The TGS code indicates the JES2 SPOOL space is full. How did you determine you have a TGS issue if you were unable to logon?

The system operator must (and this must be done quickly before the system itself locks up because the system cannot write SYSLOG data) determine why the SPOOL space is full and cancel the offending job. Once the system locks up, the only solution is a system IPL with a JES2 cold start.


here is the situation. the system is a test system for education which is built on the z/VM.
and someone has the authority to purge the jobs. but i want to add another spool volume.
so i want to know how to add a spool volume to jes2. thx :)

Re: SPOOL(TGS) FULL and can't logon

PostPosted: Thu Nov 11, 2010 9:10 am
by steve-myers
Adding a new SPOOL volume

First, it may not be possible, depending on the JES2 system parameters and your current configuration. To determine this, examine the output from a $dspooldef command. Check SPOOLNUM= and TGSPACE=. If SPOOLNUM is equal to the number of volumes in the configuration, you can't add volumes. Similarly, if DEFINED is close to MAX in TGSPACE=, you can't add more space.

If it's possible, prepare a new SPOOL volume. The volume serial must be the volume serial prefix displayed in the VOLUME= xxxx output in $DSPOOLDEF, and the data set name must be the data set name in DSNAME= in the $DSPOOLDEF output. SPOOL volumes are not SMS defined, and do not have to be indexed since the VTOC is used only to allocate the SPOOL data set and when JES2 starts the volume. Obviously you must have RACF ALTER to the new SPOOL data set. JES2 will format the data set when it acquires it, so all you have to do is allocate the space. Technically the $sspool command can allocate the SPOOL data set, but it's easier to keep things simple.

Finally, once everything is ready, use the $SSPOOL command to start the new SPOOL volume.

Re: SPOOL(TGS) FULL and can't logon

PostPosted: Wed Dec 01, 2010 1:56 pm
by nauy
steve-myers wrote:Adding a new SPOOL volume

First, it may not be possible, depending on the JES2 system parameters and your current configuration. To determine this, examine the output from a $dspooldef command. Check SPOOLNUM= and TGSPACE=. If SPOOLNUM is equal to the number of volumes in the configuration, you can't add volumes. Similarly, if DEFINED is close to MAX in TGSPACE=, you can't add more space.

If it's possible, prepare a new SPOOL volume. The volume serial must be the volume serial prefix displayed in the VOLUME= xxxx output in $DSPOOLDEF, and the data set name must be the data set name in DSNAME= in the $DSPOOLDEF output. SPOOL volumes are not SMS defined, and do not have to be indexed since the VTOC is used only to allocate the SPOOL data set and when JES2 starts the volume. Obviously you must have RACF ALTER to the new SPOOL data set. JES2 will format the data set when it acquires it, so all you have to do is allocate the space. Technically the $sspool command can allocate the SPOOL data set, but it's easier to keep things simple.

Finally, once everything is ready, use the $SSPOOL command to start the new SPOOL volume.


Thank you very much for your advice. I also read the "JES2 initialization and tuning guide" and succeed in adding a volume :)