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

Answers were Sorted based on User's Feedback



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

Answer / chudar

exec cics Startbr
dataset
ridfld()
getq
end exec

exec cics read next
dataset(name)
into(area)
length()
ridfld()
getq
end exec

Is This Answer Correct ?    12 Yes 0 No

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

Answer / lenin

The answer given by chudar is correct, but the GTEQ
parameter not required in READ NEXT statement.

Is This Answer Correct ?    5 Yes 1 No

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

Answer / rameshkumar.hk.

exec cics read
dataset(name)
into(area)
length()
ridfld()
getq
end exec

In connection with first answer above.
Will use only read option .startbr is used when u want to
read data dynamically.

Is This Answer Correct ?    2 Yes 1 No

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

Answer / venkatesh

thanks for the valid info
could you please explain each parameter

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CICS Interview Questions

What is the use of using MDT in CICS? How it works?

3 Answers   Barclays,


Explain difference between call and link?

0 Answers  


Are sequential files supported by CICS?

1 Answers  


What is the primary function of the Processing Program Table (PPT)?

5 Answers   IBM,


Explain how would you resolve an asra abend?

0 Answers  






What is DFHEIBLK?

3 Answers   IBM,


Which commend used for terminating a browser operation?

0 Answers  


Why is it important not to execute a STOP RUN in CICS ?

4 Answers   IBM,


Generally we check EIBALEN = 0 to decide whether first call or not. If I do not pass any value in the COMMAREA then EIBCALEN will be 0 even on second call. Now how can we say the program is called for the first time or second time?

3 Answers   Accenture,


Explain how do you control cursor positioning?

0 Answers  


What are the two types of transient data queues?

1 Answers   IBM,


Define an aey9 abend?

0 Answers  


Categories