Syntax for ANTTREXX

You call ANTTREXX as follows:

Read syntax diagramSkip visual syntax diagram
>>-+-CALL--ANTTREXX--'--request-type--'--+----------------------------+------------+-><
   |                                     '-,--'--compound-variable--'-'            |   
   '-result--=--ANTTREXX--(--?--request-type--?--+----------------------------+--)-'   
                                                 '-,--?--compound-variable--?-'        

where:
request-type
specifies the request type, such as FCESTABLISH. It is required. For a list of request types, see Table 1.

This corresponds to the ANTRQST REQUEST parameter.

compound-variable
Is a REXX compound variable that contains keywords and parameters for the request. These vary with the request type. They are described in ANTTREXX request types.

The keywords and parameters are not case-sensitive.

The syntax for keywords is keyword(value), for example, DEVN(OA00). Do not use embedded blanks, for example, DEVN (0A00) or DEVN( 0A00).

result
is the result returned by ANTTREXX. See ANTTREXX results for more information.