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 |
Name some of the examples of COBOl 11?
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?
What is the difference between SEARCH and SEARCH ALL?
what is search and searchall?what is the diffrence between them?give an best example?
What are different data types in cobol?
what is index and how to use two tables using index?
how to transfer the file from pc to mainframe??
01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?
what is the difference between start and startbr?
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?
i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..