where will u code file status ?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is a scope terminator? Give examples.
. How do we cast a variable in COBOL
What is the maximum length of a field you can define using COMP-3 in COBOL?
What are the different data types available in COBOL?
How is sign stored in a COMP field ?
tell me about examine inspect and evaluate ?
db2 variable decimal(15,2) what is the equalent size of cobol variable
What is the difference between PIC 9.99 and 9v99 in COBOL?
0 Answers SwanSoft Technologies,
How do we get current date from system with century in COBOL?
how to access the file from prodution from changeman tool and to submit a file to production
how to display the dataset information?
What divisions, sections and paragraphs are mandatory for a COBOL program?