How do you access the records randomly in TSQ ?

Answers were Sorted based on User's Feedback



How do you access the records randomly in TSQ ?..

Answer / joanna suresh

by giving the item number. below is the syntex of Reading
the record in TSQ

EXEC CICS READQ TS QUEUE (EXPW-TEMP-STORAGE-KEY)
ITEM (1)
LENGTH (EXPW-TEMP-STORAGE-LENGTH)
INTO (PASSWORD-FILE)
END-EXEC

Is This Answer Correct ?    16 Yes 0 No

How do you access the records randomly in TSQ ?..

Answer / ac

Using specific qid
code
Exec cics read
dsn(name)
qid(key)
exit exe.

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More CICS Interview Questions

Explain the difference between dfhcommarea and tsq?

0 Answers  


Can you define multiple maps in a BMS mapset?

3 Answers   Cap Gemini, IBM,


What is the difference between a RETURN with TRANSID and XCTL ?For example prog. A is issuing REUTRN with TRANSID to prog B. Prog A. is issuing XCTL to prog B?

3 Answers  


What is the use of the DELIGHT in Mainframes and whats is use of scope?

1 Answers  


Explain the difference between exec cics handle condtion and an exec cics ignore command?

0 Answers  






Can anyone say full transaction process? i mean when user press enter key after that what happens from there to till end of transaction

3 Answers  


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

1 Answers   UHG,


Which is the program which determines whether a transaction should be restarted ?

1 Answers  


What is the COMMAREA(communications area)?

1 Answers   IBM,


Can you define bms?

0 Answers  


how do you execute a background cics txn ?

0 Answers   IBM,


How is dynamic memory allocated within a CICS application program?

1 Answers   IBM,


Categories