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

Name the two types of transient data queues?

642


Explain the difference between link and xctl?

593


what are transient data sets defined to cics?

738


what are the reserved words for cics?

655


What is CICS ?

681






Can you define cemt?

753


what is effect on receive map when

777


What is commarea (communications area)?

642


Can you define bms?

711


What do you mean by CEMT?

869


Can you define temporary storage?

778


specify the requirements for automatic task initiation. (Mention the control table, it is entries and the corresponding procedure division cics command).?

792


How to get the cursor position when we receive a map?

676


mention the option (along with argument type) used in a cics command to retrieve the response code after execution of the command?

854


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?

640