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

I have to run a select query on DB2 table and show its data on CICS map. Please tell me.

2 Answers  


which cics service transaction is used to gain accessibility to cics control tables? Mention the one that has the highest priority.?

1 Answers   IBM,


what is an MDT in cics

4 Answers   Syntel,


what is mapfail and when we get this error? during send map or receive map?

3 Answers   HP,


Define an aey9 abend?

1 Answers  


how to get 'time stamp' in cics prgms ,what is the syntax.

1 Answers  


Why doesn?t CICS use the Cobol Open and Close statements ?

2 Answers  


What is the use of tdq and tsq?

1 Answers  


What is the function of the LOAD command?

1 Answers   IBM,


What happens if i move +1 (instead of -1) to field+L in CICS? Will it show compile time error?

6 Answers   CTS,


what is difference between call and link ?

3 Answers   IBM,


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

1 Answers   IBM,


Categories