Interviewer And Interviewee Guide

IBM QSAM Interview Question:

Suppose I have a KSDS File. I have a Records like 1,2,3,4,5,6,...100. I want to read using Dynamic mode like from 10 the Record onwards like, 10,12,14,16,18,....60. Wat is the command for this?

Submitted by: Administrator
By using START command
Example :

START filename
KEY is EQUAL TO keyname
[INVALID KEY ...........]
END-START


PERFORM UNTIL end-of-file
READ filename NEXT RECORD
AT END
SET end-of-file TO TRUE
END-READ
END-PERFORM
Submitted by: Administrator

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