This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tutorials:exec [2022/03/14 19:32] lars old revision restored (2022/03/14 05:05) |
tutorials:exec [2022/03/15 09:41] (current) papa [Automatic commands] |
||
---|---|---|---|
Line 92: | Line 92: | ||
| SUBMIT | 1. SYSTEM: | | SUBMIT | 1. SYSTEM: | ||
| PUSH | 1. SYSTEM: | | PUSH | 1. SYSTEM: | ||
+ | | ATTACH | 1. ATTACH.CMD | | ||
| LOGOUT | 1. LOGOUT.CMD \\ 2. SYSTEM: | | LOGOUT | 1. LOGOUT.CMD \\ 2. SYSTEM: | ||
When EXEC executes multiple command files, commands in earlier command files may be overridden by commands in later files. For example, during log-in a '' | When EXEC executes multiple command files, commands in earlier command files may be overridden by commands in later files. For example, during log-in a '' | ||
+ | |||
+ | In principle, your LOGIN.CMD file should contain programs you want to run automatically when you log-in and job-wide customizations (DEFINE, SET LOCATION), while your COMAND.CMD should contain local EXEC customizations that you want applied every time EXEC starts for both LOGIN and PUSH (SET DEFAULT, SET PROGRAM, SET PROMPT | ||
+ | or PCL declarations). | ||