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.

Warning

If the application program uses checkpoint/restart services, the restart call must precede data set open processing.

CALL 'CBLTDLI' USING OPEN, asampcb, openmode

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.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*