ACCEPT command

The Accept (ACCEPT) command is used to tell IMS to return a status code to your program, rather than abend the transaction.

Format

Read syntax diagramSkip visual syntax diagramEXECDLI ACCEPT STATUSGROUP('A')ACCEPT STATUSGROUP('B')

Options

STATUSGROUP('A')
Informs IMS that the application is prepared to accept status codes regarding unavailability. IMS then returns a status code instead of pseudoabending if a call issued later requires access to unavailable data.

This is a required option.

STATUSGROUP('B')
Informs IMS that the application is prepared to accept status codes regarding unavailability and deadlock occurrence. IMS returns a status code instead of pseudoabending if a call issued later requires access to unavailable data or deadlock occurrence.

Usage

Use the ACCEPT command to tell IMS to return a status code instead of abending the program. These status codes result because PSB scheduling completed without all of the referenced databases being available.

Example

EXEC DLI ACCEPT STATUSGROUP('A');

This example shows how to specify the ACCEPT command.