Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

UNIX and z/OS

The LOGIN option specifies whether or not the shell program that is used to create the user process is invoked as a login shell.
 
A login shell will read and execute commands from the system profile and the user profile. Which profile files are read and executed depends on the type of shell.
 
A non-login shell will not read and execute commands from the profiles. This matches the environment of a process scheduled with cron.

AIX

The AIX platform provides a /etc/environment file within which global environmental variables can be exported for all users of the machine. Universal Command adds the environment variables defined in this file to the user's login environment. The order in which it is processed by Universal Command is slightly different than the AIX login process.
 
The AIX login process reads and processes the following files in the order listed:

Html bobswift
<ol>
<li> /etc/profile
<li> /etc/environment
<li> $HOME/.profile
<li> $HOME/.env
</ol>


 
The LOGIN option directs Universal Command to use the login shell to execute the user command. The AIX login shell does not process the /etc/environment file, so Universal Command processes the files in the following order:

  1. /etc/environment
  2. /etc/profile
  3. $HOME/.profile
  4. $HOME/.env

Windows

The LOGIN option specifies whether or not the user's profile and environment block are loaded by Universal Command and made available to the user process.
 
For purposes of this discussion, a user's profile are those settings listed in the Windows registry under the HKEY_CURRENT_USER key when that user is logged on. This also is known as the user's registry hive.
 
A user's environment block contains the environment variables that are defined for the user when that user is logged on.

IBM i

The LOGIN option specifies whether or not UCMD Server:

Html bobswift
<ul>
<li> Executes its initial program, which is specified via the <b>CRTUSRPRF</b> and <b>CHGUSRPRF</b> commands. This program normally runs only when the user logs in from a terminal, making it an interactive session.
<li> Sets the following job attributes to those specified in the target user profile:
<ul>
<li> ASP group information
<li> Coded character set ID
<li> Country or region ID
<li> Current library
<li> Character identifier control
<li> Home directory
<li> Initial library list
<li> Job accounting code
<li> Language ID
<li> Locale
<li> Output queue name
<li> Output queue priority
<li> Print text
<li> Printer device name
<li> Sort sequence table
<li> Status message handling
</ul></ul>
Note
titleNote

LOGIN is used only if the USER_SECURITY option is set to default. If USER_SECURITY is set to none, the initial program inherits the attributes of the invoking job. Thus, setting job attributes would have no consequence. Also, running the initial program from a general profile, if one is specified, may produce unwanted results for some customers. If job customization is desired, the UCMSJOBI exit program should be used.

...