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 |
Which Search verb is equivalent to PERFORM…VARYING?
how to crack cts interview apps? NOVEMBER 21 2010
Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.
) How do u handle errors in BMS macro?
What is report-item in COBOL?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how to code in cobol while using variable block file?
What are the ways you can generate a copybook?
how can we fetch 3 records in cobol pgm any coding pls ?
I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that perticular record got abend?
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
I have a sequential file. How do I access a record in this sequential file randomly in my program ?