The five subordinate sections in the Data Division are as follows:
No space is allocated in the program for data items defined in the Linkage Section of that program.Procedure Division references to these data items are resolved at runtime by replacing the reference in the program with the location assigned by the calling program for a formal argument associated with an actual argument or the location assigned by the most recently executed SET statement that established the base address for a based linkage record. In the case of index-names, no such correspondence is established. Index-names in the called and calling program always refer to separate indexes for indexes defined in the Linkage Section.
Data items defined in the Linkage Section of a program may be referenced within the Procedure Division of that program only if they are specified as operands of the USING or GIVING phrases of the Procedure Division header, or are subordinate to such operands,and the object program is under the control of a CALL statement that specifies a USING or GIVING phrase that includes a corresponding actual argument to associate with the formal argument, or the SET statement has been used to associate an address with the linkage record. An exception to this rule is that the ADDRESS OF special register may reference the record-name and will return NULL if the reference requirements have not been satisfied.
COBOL Related Interview Questions
|VSAM Interview Questions||IBM - VSAM Interview Questions|
|IBM-CICS Interview Questions||JCL Interview Questions|
|IBM DB2 Interview Questions||IBM-JCL Interview Questions|
|DB2 Using SQL Interview Questions||IBM-JCL&VSAM Interview Questions|
|IBM Mainframe Interview Questions||COBOL, CICS, JCL, VSAM, DB2 Interview Questions|
|DB2 SQL Programming Interview Questions||IMS/DB Interview Questions|
|Mainframe DB2 Interview Questions|
Procedure Division Statements
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.