OPEN call
Use the OPEN call to open an ASAM data set explicitly. This call normally is unnecessary because AR/CTL opens the ASAM data set automatically during XRST call processing. An application program can issue the OPEN call to open an ASAM data set for additional processing after AR/CTL has closed it automatically or because the application program issued the CLSE call.
asampcb | Required. The ASAM PCB. This PCB is defined in the ASB or PSB. |
---|---|
openmode | Optional. The address of a code that indicates the mode for opening the ASAM data set. The following values are valid: |
Value | Description |
---|---|
INP | input |
OUT | standard output |
OUTA | output with ISO/ANSI control characters |
OUTM | output with machine control characters |
blank | The call worked correctly. |
---|---|
AD | A call function is invalid. |
AI | AR/CTL could not open the data set. |