Processing intents
Each time you create or reset a workmod, you associate it with a processing intent. The intent determines the services and options that are valid for the workmod.
CREATEW and RESETW require you to specify the processing intent
using the INTENT parameter. The two values are:
- BIND
- The workmod is bound before being saved or loaded. All binder functions can be requested.
- ACCESS
- The workmod is not bound before being saved or loaded. No services that might alter the size or structure of the program module can be requested.
Table 1 lists each call and indicates whether it is required, optional, or not allowed within a workmod of either processing intent.
FUNCTION | INTENT=BIND | INTENT=ACCESS |
---|---|---|
ADDA | Optional | Optional |
ALIGNT | Optional | Not allowed |
ALTERW | Optional | Not allowed |
AUTOCALL | Optional | Not allowed |
BINDW | Required | Not allowed |
CREATEW | Required | Required |
DELETEW | Optional | Optional |
DLLR | Optional | Optional |
ENDD | Required | Required |
GETC | Optional | Optional |
GETD (see note 1) | Optional | Optional |
GETE (see note 2) | Optional | Optional |
GETN (see note 3) | Optional | Optional |
IMPORT | Optional | Not allowed |
INCLUDE (see note 4) | Required | Required |
INSERTS | Optional | Not allowed |
LOADW | Optional | Optional |
ORDERS | Optional | Not allowed |
RENAME | Optional | Not allowed |
RESETW | Optional | Optional |
SAVEW | Optional | Optional |
SETL | Optional | Not allowed |
SETO (see note 5) | Optional | Optional |
STARTD | Required | Required |
STARTS | Optional | Not allowed |
Note:
- If INTENT=BIND, the module must be bound before GETD calls can be executed.
- If INTENT=BIND, the module must be bound before GETE calls can be executed.
- If INTENT=BIND, the module must be bound before GETN calls can be executed.
- If INTENT=ACCESS, only one module can be included in a workmod. If INTENT=BIND, DDNAME and optionally MEMBER must be specified.
- If INTENT=ACCESS, many of the options can be ignored.