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

is it possible to create TDQ's and TSQ's dynamically,How

1 Answers  


How will you access a VSAM file using an alternate index?

1 Answers   IBM,


What are the some important fields in the eib block?

0 Answers  


what is 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?

0 Answers   IBM,


When there are 2 records with the same key specified in a DELETE operation what will happen?

2 Answers  






Where are transient data sets defined to CICS?

4 Answers  


What is ENQ, DEQ ?

1 Answers   IBM,


Explain the function of the terminal control table?

0 Answers  


the dfhcommara is used to pass information from one application to another. What are some other ways that this function can be accomplished?

0 Answers   IBM,


How do you delete Item 3 in a five-item TSQ?

3 Answers   IBM,


What is the difference between a return with transid and xctl?

0 Answers  


What is cics load command?

0 Answers  


Categories