how to access vsam files in cobol and how to differentiate
that this is ESDS file
Answer / javiad
In order to access VSAM file in a cobol program, we need to
code oransiation, access and rec key in the file descrption.
For ESDS add prefix AS- to the DD Name.
| Is This Answer Correct ? | 20 Yes | 0 No |
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error
how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?
i have variable record in the 5th, i want to sort from 5th filed ? how ?
What are the divisions in a cobol program?
What is a report item?
I have a occurs for 100 times but it has executed 101 time what could be the reason?
what is a load module ?
why we are using picture clause in the cobol programs?
In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference
How can you get the ksds file records into your cobol program?
Difference between next and continue clause