Answers

Question and Answer:

  Home  IBM QSAM

⟩ 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?

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

 195 views

More Questions for you: