What CICS command would you use to read a VSAM KSDS
sequentially in ascending order?

Answer Posted / manish_cics

sequential access of VSAM file under CICS is
called "browsing". we 'll use this coomand::

EXEC CICS READNEXT
DATASET(NAME)/FILE(NAME)
INTO(DATA-AREA)
LENGTH(DATA-VALUE)
RIDFLD(DATA-AREA)
END-EXEC.
the READNEXT command is used to read a record of afile
sequentially forward .the STARTBR must ve been succesfully
completed prior to issuing the READNEXT command.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between and exec cics xctl and exec cics start command?

556


Explain the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?

536


What is the use of the eibaid field?

605


What is ENQ?

650


Explain the purpose of the program list table?

601






With the use of an alternate index, how is a VSAM file accessed?

637


What is bms map?

661


Define cedf?

565


What is cics load command?

569


Define an asra abend?

597


difference between tsq and tdq?

752


What are the uses of ppt in cics?

541


What are the cics transactions?

578


What Are Send Map Maponly & Send Map Dataonly ?

696


Name the command which is used to release a record on which exclusive control is gained?

569