FAQs(331 to 345)

331) How would you release control of the record in a READ for UPDATE?

A) By issuing a REWRITE,DELETE, or UNLOCK command or by ending the task.

332) 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?

A) In RETURN with TRANSID the control goes to the CICS region and the user have to transfer the control to prog. B by pressing any of the AID KEYS.In XCTL the control is directly transfer to prog. B.

333) What will be the length of the eibcalen ,if the transaction is used to cics first time?

A) The length will be 0(zero).

334) What is DFHEIBLK?

A) DFHEIBLK is Execute Interface Block. It is placed in the linkage section automatically by CICS translator program.

It must be the first entry in linkage section. CICS places values prior to giving control to the program and we can

find almost any information about our transaction.

335) What is the difference between the XCTL and LINK commands?

A) The LINK command anticipates return of control to the calling program, the XCTL command does not. Return to

the calling program will be the result of the CICS RETURN command, specifying TRANSID(name of the calling


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

A) First issue a STARTBR(start browse), which will position the browse at the desired record. Retrieve records by

using subsequent READNEXT commands. Indicate the end of sequential processing with the ENDBR command. If

the generic key is specified in the STARTBR command positioning in the file will be before the first record

satisfying the generic key.For reading in descending order use the READPREV instead of READNEXT.

337) What is the difference between pseudo-conversational and conversational?

A) Pseudo-conversational will start a new task for each input. By coding a CICS RETURN command specifying ?

TRANSID(itself). Conversational will have an active task during the duration of the data entry.

338) What is the COMMAREA(communications area)?

A) An area used to transfer data between different programs or between subsequent executions of the same program.

Needs to be defined in the Linkage Section.