1. CALL Command

Executes an application program or a dynamic library. The exit codes of an application are used as return codes for the CALL command.

Syntax
figure call stmt
Figure 1. CALL Command

image

Item Description

dsname

Name of a data set. To specify a PDS, specify member names enclosed by parentheses.

call_param

Parameter values to pass to a program.

second

Execution timeout in seconds. For syntax check only.

Operands

The following table describes the operands mentioned previously.

Operand Description

TIME (T)

Specifies the execution timeout for the CPU in seconds. For syntax check only.

CAPS

Converts parameter values to uppercase letters.

ASIS

Does not convert parameter values to uppercase letters.

Example

The following example uses the CALL command.

CALL 'SYS1.LINKLIB(JLAASSY)' '12,ALL',ASIS