Answer Posted / rahul
ENVIRONMENT DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT file-name ASSIGN TO dd-name.
FILE STATUS IS ws-file-status1.
ws-file-status1 need to define in WORKING STORAGE SECTION
with
PIC X(02)- For QSAM files
PIC X(03) for VSAM files.
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Write some characteristics of cobol as means of business language.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
When is inspect verb is used in cobol?
Explain the configuration section of a cobol program with examples of syntax.
Define cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is difference between static and dynamic call in cobol?
What is perform what is varying?
What kind of error is trapped by on size error option?
how to refer the data field?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are the pertinent COBOL
What are the access modes of START statement?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How you can read the file from bottom?