SMARTS Server Environment Internal Macro Description

#### Search Results

Search

# SMARTS Server Environment Internal Macro Description

This document contains information on the SMARTS Server Environment Internal Macro.

This document covers the following topics:

- ATTACH Function

- CANCEL Function

- CMTIMR Function

- ABEXIT Function

## ATTACH Function

ATTACH is used to create new units of work in the SMARTS server environment

Return Code | Feedback Code | Description
--- | --- | ---
0 | >0 | A new unit of work was created but did not initialize successfully. Check for other errors in the log to determine why the new unit of work could not initialize successfully.
4 | - | Insufficient TIBs available in the system. The resources in the SMARTS server environment must be increased.
8 | - | Program to be started was not found. This implies an error in the installation of SMARTS as the PAENSTRT module could not be loaded in the SMARTS instance.
12 | - | Security error. This should not occur and should be reported to your Software AG technical support representative.
16 | - | Invalid program name. This should not occur and should be reported to your Software AG technical support representative.
20 | - | Insufficient space to create a new unit of work. The resources in the SMARTS server environment must be increased.

## CANCEL Function

CANCEL is used to cancel a unit of work in the SMARTS server environment

Return Code | Feedback Code |
--- | --- | ---
>0 | - | Insufficient space available to cancel the unit of work. The resources in the SMARTS server environment must be increased.

## CMTIMR Function

CMTIMR is used to add and delete internal timers in the SMARTS server environment

Return code | Feedback Code | Description
--- | --- | ---
4 | - | Requested storage queue not found. This should not occur and should be reported to your Software AG technical support representative.
8 | - | Insufficient space available to set the timer. The resources in the SMARTS server environment must be increased.

## ABEXIT Function

ABEXIT is used to add and delete termination exits in the SMARTS server environment

Return code | Feedback Code | Description
--- | --- | ---
4 | - | No previous exit found. This should not occur and should be reported to your Software AG technical support representative.
8 | - | Insufficient space available to set an exit. The resources in the SMARTS server environment must be increased.
12 | - | Invalid parameters. This should not occur and should be reported to your Software AG technical support representative.

### On this page

- ATTACH Function
- CANCEL Function
- CMTIMR Function
- ABEXIT Function