CALL FUNCTION statement with column-specific SSAs
In this format, the SSA has intervening blanks between fields. Columns 24, 34, and 37 must contain blanks.
Command codes are not permitted. The following table gives the format for the CALL FUNCTION statement with column-specific SSAs.
Column | Function | Code | Description |
---|---|---|---|
1 | Identifies control statement | L | Call statement (see columns 10-13). |
2 | Reserved | b | |
3 | Reserved | b | |
4 | Reserved | b | |
5-8 | Repeat Count | b | If blank, repeat count defaults to 1. |
nnnn | 'nnnn' is the number of times to repeat this call. Range 1 to 9999, right-justified but need not contain leading zeros. | ||
10-13 | Identifies DL/I call function | b | If blank, use function from previous CALL statement. |
xxxx | 'xxxx' is a DL/I call function. | ||
CONT | Continuation indicator for SSAs too long for a single CALL FUNCTION statement. Column 72 of preceding CALL FUNCTION statement must contain a nonblank character. The next CALL statement should have CONT in columns 10 through 13 and the SSA should continue in column 16. | ||
14-15 | Reserved | b | |
16-23 | SSA name | s-name | Required if call contains SSA. |
24 | Reserved | b | Separator field. |
25 | Start character for SSA | ( | Required if segment is qualified. |
26-33 | SSA field name | f-name | Required if segment is qualified. |
34 | Reserved | b | Separator field. |
35-36 | DL/I call operator(s) | name | Required if segment is qualified. |
37 | Reserved | b | Separator field. |
38-nn | Field value | nnnnn | Required if segment is qualified. Note: Do
not use '5D' or ')' in field value.
|
nn+1 | End character for SSA | ) | Required if segment is qualified. |
72 | Continuation column | b | No continuations for this statement. |
x | Alone, it indicates multiple SSAs each beginning in column 16 of successive statements. With CONT in columns 10-13 of the next statement, indicates a single SSA that is continued beginning in column 16 of the following statement | ||
73-80 | Sequence indication | nnnnnnnn | For SYSIN2 statement override. |
If a CALL FUNCTION statement contains multiple SSAs, the statement must have a nonblank character in column 72 and the next SSA must start in column 16 of the next statement. If a field value extends past column 71, put a nonblank character in column 72. In the next statement insert the keyword CONT in columns 10 through 13 and continue the field value starting at column 16. Maximum length for field value is 256 bytes, maximum size for a SSA is 290 bytes, and the maximum number of SSAs for this program is 15, which is the same as the IMS limit.