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 report item?
What is link edit in cobol?
can we use 77 level no for Redefines?if we use give an example?
How do you code Cobol to access a parameter that has been defined in JCL?
What is the mode in which you will OPEN a file for writing?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
how to transfer the file from pc to mainframe??
Suppose i want to declare a binary comp fild of 7 byte .how to write?
consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct statement a.organization of IN-FILE is sequential and records can be added in the beginning b.organization of IN-FILE is sequential and records can be added in the end c.organization of IN-FILE is indexed and records can be added in the beginning d.organization of IN-FILE is indexed and records can be added in the end
How does IDMS insure data integrity?
what are the diferences b/w sub-script and index?
How can you declare the file ?