Answer Posted / surya
In DATA DIVISION, under WORK-STORAGE SECTION, we can mention the copy book. Please find the example below.
COPYBOOK "WRKRCD" having the below statements.
01 WORK-RECORD.
05 NAME-FIELD PIC X(1).
05 FILLER PIC X(1) VALUE SPACE.
05 RECORD-NO PIC S9(3).
05 FILLER PIC X(1) VALUE SPACE.
05 LOCATION PIC A(3) VALUE "NYC".
05 FILLER PIC X(1) VALUE SPACE.
05 NO-OF-DEPENDENTS PIC X(2).
05 FILLER PIC X(7) VALUE SPACES.
In program we can mention like below
DATA DIVISION.
WORKING-STORAGE SECTION.
COPY WRKRCD.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is redefine?
What is the actual use of fillers?
Define redefine and its syntax?
Define perform? And its types?
What is sort?
Explain how to detect record is locked in cobol/400? What is the solution for that?
Explain how to update data area in cobol 400 program?
What are the types of perform?
Define perform?
Explain the output procedure?
Define redefine?
Explain the input procedure?
Explain the types of perform?
Explain the syntax of redefine?
What is perform?