If the ALLOCATE command is used without UNIT operand, the default UNIT operand value depends on whether the ALLOCATE command is executed in the foreground or in the background.
Processing in the Foreground: The ALLOCATE command uses the default UNIT operand value from the protected step control block (PSCB).
During LOGON processing this value is taken from either the user attribute data set SYS1.UADS or the security system being used (if SYS1.UADS is not being used) and put in the PSCB (PSCBGPNM field). See the ACCOUNT command and its UNIT operand in OS/390 TSO/E System Programming Command Reference on how to specify a default device type in SYS1.UADS.
Processing in the Background: If the Terminal Monitor Program (TMP) IKJEFT01 (or IKJEFT1A or IKJEFT1B) is executed in the background and the ALLOCATE command without UNIT operand is issued, the default value from the PSCB is nulls, because LOGON is not executed.
Search Order for UNIT Operand Value: The UNIT operand value is searched for in the following sequence:
If there is a UNIT keyword, and Storage Management Subsystem (SMS) is installed and active and has a default UNIT in the SMS control data set (SCDS), the latter one is used instead.
© Copyright IBM Corp. 1988, 2000
Return to library: [ OS/390 | TPF | VM | VSE | IBM Hardware | S/390 Redbooks | RS/6000 SP ]
Glossary - IBM Dictionary of Computing
How to: [ Order publications | Contact OS/390 ]