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

By which CICS defined field can you determine the position of the cursor on the map ?

1 Answers  


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

2 Answers  


If I create a TSQ from one transaction, can I read it from another transaction?

4 Answers   IBM,


Explain the function of the load command?

0 Answers  


i would like to practise some programs in code some cics programs plz send the programs

0 Answers   IBM,






What tables must be updated when adding a new transaction and program?

2 Answers  


What is multitasking and multithreading?

4 Answers   IBM,


Can you define multiple maps in a BMS mapset?

3 Answers   Cap Gemini, IBM,


How does COBOL11 and CICS release 1.7 provide for exceptional and how does that differ from VS COBOL and earlier CICS release?

1 Answers   IBM,


what is an mdt (modified data tag)? Its menaing and use?

0 Answers   IBM,


how do you fire a batch job from a cics txn ?

0 Answers   IBM,


A mapset consists of three maps and 10 fields on each map . How many of the following will be needed ?

3 Answers  


Categories