2.2 PROC INPUTS AND OUTPUTS

2.2.1 General

The inputs for both procedures and processes consist of the following:

The outputs of a proc are:

2.2.2 Standard Output

The "standard output" is the file or device that receives outputs that are, in interactive mode, usually written to the terminal. The standard output is used for:

The standard output device varies as follows:

  1. The interactive session, after the logan sequence, always starts with the standard output assigned to the user's terminal.

  2. The initial standard output for a proc invoked for batch execution is a "LOG" type file with the same name as the proc.

    The listing of the VMS DCL commands which activate TAE and the output of DCL commands executed under TAE are lost by default for a batched proc. If the TCL command "SWITCH 2" is executed prior to the submission of a proc to batch, two files, proc.TML, and proc.SPL, are produced in addition to the standard log file. See Appendix A.2.7.3 for details.

  3. The initial standard output for a proc invoked for asynchronous execution is a "LOG" type file with the same name as the job.

  4. The command qualifier STDOUT may be used to change the standard output upon proc invocation. This assignment is retained for the duration of the proc's execution; if the proc invokes another proc with another standard output assignment, then the assignments are nested.