Interviewer And Interviewee Guide

Cobol Interview Question:

How you can read the file from bottom?

Submitted by: Administrator
The question is very general. Let us look into these possibilities:

1. QSAM (sequential) file: You can run it thru SORT utility adding SEQNUM and then sort then sort by SEQNUM in DESC order
2. VSAM: In CICS, you can read backward using READREV;
3. VSAM: I Batch, unload the VSAM file using SORT in DESC order by key value
Submitted by: Administrator

Read Online Cobol Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.