Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Mainframe Technical Interviews:CICSCLIST (Command List)IBM ADABASIBM AS400IBM AssemblerIBM COBOL400IBM COOLPLEXIBM DB400IBM MainFrameIBM MVSIBM NaturalIBM OS 2IBM OS390IBM QMFIBM QSAMIBM REXXIBM RPG400IBM SysplexIDMSIMS DBJCLMQ SeriesVSAM
Copyright © 2018. All Rights Reserved
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: AdministratorBy 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
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
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.