Previous Topic: ADDRESS OPSDYNAM Host EnvironmentNext Topic: ADDRESS OPSDYNAM Compared to TSO ALLOCATE


OPSDYNAM Used as a TSO/REXX or OPS/REXX Function

OPSDYNAM may also be executed as a TSO/E or OPS/REXX function with a single character string argument that is the same as the OPSDYNAM command syntax. The return code of the request is returned.

Use the following format to execute a TSO/E or OPS/REXX function with a single character string argument:

FRC = OPSDYNAM("ALLOC FILE(xyz) DSN(myfile) SHR")