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

Answer Posted / siva

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

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of qsam?

424


What is qsam?

416


What is qsam? How it is used?

388


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?

349