z/OS TSO/E Command Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Determining the SYSOUT class

z/OS TSO/E Command Reference
SA32-0975-00

If you code both a SYSOUT and OUTDES operand, the class specified in the output descriptor is ignored if
  • you explicitly specify a class on the SYSOUT operand, or
  • you have a default sysout class defined in your RACF® TSO segment, in UADS, or via a logon exit.

For example, consider the following:

ALLOC FI(XX) SYSOUT OUTDES(OUT1) REU
  • Code SYSOUT with a class suboperand (e.g. SYSOUT(A)) to allocate to the specified class.
  • If a class is not specified on the SYSOUT operand, then the SYSOUT is allocated to the default class, determined as follows:
    • To the class defined as the default sysout class at logon. The default sysout class is set at logon time from:
      1. a logon exit, or
      2. a UADS SYSOUT class, for a UADS defined user, or
      3. from the RACF TSO segment SYSOUTCLASS, for a RACF defined user.
  • If no logon sysout default was defined, allocation defaults it:
    • from an OUTPUT Descriptor, if specified, or
    • from a default message class, if no output descriptor.
Example:
A user is defined to RACF with a SYSOUT default class of B in his TSO segment. Assume there is no logon exit that sets any other logon SYSOUT value. So this user would have default sysout class B. Assume the user performs this allocation:
   OUTDES OUT1 CLASS=E FORMS=XYZ1 REUSE
   ALLOC FI(SYSUT2) SYSOUT OUTDES(OUT1) SHR

Because the user did not explicitly specify a SYSOUT class, SYSUT2 is allocated to sysout class B (the logon default from RACF). The class specified on the output descriptor OUT1 would be used only if no default sysout class exists.

If the user needs to use class E, either explicitly specify SYSOUT(E) on the ALLOC command, or first have the RACF administrator delete the default class from the user's RACF TSO segment using:
   ALU userid TSO ( NOSYSOUT )

Then have the user LOGOFF and LOGON again to pick up the refreshed logon default with no sysout class. Now issuing the above OUTDES and ALLOC commands would allow the sysout default to be picked up from the output descriptor as sysout class E, since no logon default sysout class exists for this user.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014