INCLUDE IDMS (SUBSCHEMA_BINDS):
This statement does not generate BIND RECORD statements for logical records. Your program does not need them. INCLUDE IDMS (SUBSCHEMA_BINDS) only generates BINDS for subschema records explicitly copied into your program by INCLUDE IDMS statements.
Do not use the INCLUDE IDMS (SUBSCHEMA_BINDS) statement when binding several records to the same location. Instead, code BIND RUN_UNIT and BIND RECORD statements separately for each record. This allows you to include a CALL IDMS_STATUS statement after each BIND RECORD statement to check the ERROR_STATUS field.
Note: The INCLUDE IDMS (SUBSCHEMA_BINDS) statement does not automatically generate BIND RECORD statements when more than one copy of a given database record description (including synonyms) is present in the program. For such records, issue individual BIND RECORD statements to bind the records to the correct location.
►►─┬───────────────────────────────────┬──────────────────────────────────────►◄ └─ INCLUDE IDMS (SUBSCHEMA_BINDS); ─┘
|
Copyright © 2014 CA.
All rights reserved.
|
|