HELP CALL — MicroVMS 4.4
Transfers control to a labeled subroutine within a command procedure. The CALL command creates a new procedure level as does the @ (execute procedure) command. The SUBROUTINE and ENDSUBROUTINE commands define the beginning and ending of the subroutine. The SUBROUTINE command must be the first executable statement in a subroutine. Format CALL label [p1[p2[... p8]]]
Additional information available:
Parameters
label Specifies a 1- through 255-alphanumeric character label appearing as the first item on a command line. A label may not contain embedded blanks. When the CALL command is executed, control passes to the command following the specified label. The label can precede or follow the CALL statement in the current command procedure. When you use a label in a command procedure, it must be terminated with a colon. All labels are procedure level dependent except for those labels that define subroutine entry points. These labels are local to the current command procedure file level. Subroutine entry points labels must be unique. p1 [p2 [... p8]] Specifies from one to eight optional parameters to pass to the command procedure. The parameters assign character string values to the symbols named P1, P2, and so on in the order of entry, to a maximum of eight. The symbols are local to the specified command procedure.
Qualifier
Additional information available:
/OUTPUT=file-spec
Requests that all output directed to the logical device SYS$OUTPUT be written to the file or device specified. System responses and error messages are written to SYS$COMMAND as well as to the specified file. If you specify /OUTPUT, the qualifier must immediately follow the CALL command. No wildcard characters are allowed in the output file specification.