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



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

Answer / 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

More CICS Interview Questions

What is the effect of including the TRANSID in the EXEC CICS RETURN command?

2 Answers  


What is a transid?

0 Answers  


What is meant by pseudo-conversation?

1 Answers   Accenture,


What is the error condition that is set when the file specified in the NAME option is not in the FCT?

1 Answers   UHG,


For multithreading an application program need not be re- entrant(True or False).

1 Answers  


What command do you issue to delete a record in a transient data queue ?

1 Answers   IBM,


Explain the difference among the EXEC LINK, EXEC XCTL and Cobol II static call statements in CICS.

2 Answers  


How to prevent user to access a screen directly from cics Native screen by using Trans Id?

2 Answers   IBM,


What are the parameters that you have to give when you are using the CSSN transaction?

3 Answers  


Is it possible start a transaction CICS from job Batch? How do it?

5 Answers   CSC,


How to execute a cics program from a paticular date and time .or specified date and time.

3 Answers   CSC,


Explain the usage of language in the ppt entry?

0 Answers  


Categories