<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=LOGIN.COM</id>
	<title>LOGIN.COM - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=LOGIN.COM"/>
	<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=LOGIN.COM&amp;action=history"/>
	<updated>2026-05-02T12:20:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.vmssoftware.com/index.php?title=LOGIN.COM&amp;diff=1535&amp;oldid=prev</id>
		<title>Jane.doe: Created page with &quot;&#039;&#039;&#039;LOGIN.COM&#039;&#039;&#039;, or the &#039;&#039;&#039;personal login command procedure&#039;&#039;&#039;, is the default name for a command procedure that is executed before each user&#039;s Process...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=LOGIN.COM&amp;diff=1535&amp;oldid=prev"/>
		<updated>2019-11-28T12:18:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;LOGIN.COM&amp;#039;&amp;#039;&amp;#039;, or the &amp;#039;&amp;#039;&amp;#039;personal login command procedure&amp;#039;&amp;#039;&amp;#039;, is the default name for a &lt;a href=&quot;/Command_Procedure&quot; class=&quot;mw-redirect&quot; title=&quot;Command Procedure&quot;&gt;command procedure&lt;/a&gt; that is executed before each user&amp;#039;s Process...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;LOGIN.COM&amp;#039;&amp;#039;&amp;#039;, or the &amp;#039;&amp;#039;&amp;#039;personal login command procedure&amp;#039;&amp;#039;&amp;#039;, is the default name for a [[Command Procedure|command procedure]] that is executed before each user&amp;#039;s [[Process|process]] runs ([[Interactive Process|interactive]], [[Batch Process|batch]] or otherwise). Unless a different file specification is supplied in the user&amp;#039;s [[SYSUAF]] record&amp;#039;s LGICMD field, the system will look for a file called LOGIN.COM in the user&amp;#039;s [[Default directory|default directory]] and if found execute the latest version of it. LOGIN.COM is usually used to customize the user&amp;#039;s environment: set up their [[SET TERMINAL|terminal]], define [[Logical Name|logical names]], [[Symbol|symbols]] and [[Foreign Command|foreign commands]], [[SET PROMPT|set prompt]], display important information, etc. In case of a [[Captive Account|captive account]], the personal login command procedure limits the user&amp;#039;s actions, usually providing a menu and never allowing the user access to [[DCL]].&lt;br /&gt;
&lt;br /&gt;
=Batch Considerations=&lt;br /&gt;
LOGIN.COM executes before every [[Batch Job|batch job]] that a user runs, which could possibly lead to:&lt;br /&gt;
* the batch process hanging if LOGIN.COM contains commands requiring terminal interaction, such as [[SET TERMINAL]]/INQUIRE or [[INQUIRE]], because there is no terminal&lt;br /&gt;
* uncontrollable creation of batch processes if LOGIN.COM contains [[SUBMIT]] commands&lt;br /&gt;
* longer execution times if LOGIN.COM is long and performs actions unnecessary for the purposes of the batch job etc.&lt;br /&gt;
&lt;br /&gt;
The following code determines the mode in which the process runs and branches to the commands specific to that mode:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ GOTO &amp;#039;F$MODE()&amp;#039;                                      &lt;br /&gt;
$INTERACTIVE:                                          &lt;br /&gt;
$! put your interactive commands here  &lt;br /&gt;
$&lt;br /&gt;
$                        &lt;br /&gt;
$ EXIT&lt;br /&gt;
$BATCH:&lt;br /&gt;
$! put your batch mode commands here&lt;br /&gt;
$ &lt;br /&gt;
$ &lt;br /&gt;
$ EXIT &lt;br /&gt;
$NETWORK:&lt;br /&gt;
$OTHER:&lt;br /&gt;
$ EXIT     &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Command Procedures]]&lt;/div&gt;</summary>
		<author><name>Jane.doe</name></author>
	</entry>
</feed>