Friday, April 25, 2014

In CICS what is the difference between a physical BMS mapset and a logical BMS mapset ?

The physical mapset is a load module used to map the data to the screen at execution time. The symbolic map is the actual copybook member used in the program to reference the input and output fields on the screen.

What is Quasi-reentrancy in CICS ?

There are times when many users are concurrently using the same program, this is what we call MultiThreading. For example, 50 users are using program A, CICS will provide 50 Working storage for that program but one Procedure Division. And this technique is known as quasi-reentrancy

What are the 3 common ways to create MAPS in CICS ?

The first way is to code a physical map and then code a matching symbolic map in your COBOL program. The second way to create a physical map along with a matching symbolic map is to code only the physical map using the &SYSPARM option, CICS will automatically create a member in a COPY library. And the third way is to use a map generator such as SDF (Screen Definition Facility) am wh� 5 h � s ��r on is invoked.

What is the difference between CICS Program Control Table (PCT) and CICS Processing Program Table (PPT) ?

PCT contains a list of valid transaction ID. Each transaction ID is paired with the name of the program ,CICS will load and execute when the transaction is invoked. On the other hand, PPT indicates each program's location which pertains to a storage address if the program has already been loaded or a disk location if the program hasn't been loaded. PPT will also be used to determine whether it will load a new copy of the program when the transaction is invoked.

CICS : What is the difference between LINK and XCTL ?

The XCTL command passes control to another program, but the resources requested by the first program may still be allocated. A task does not end until a RETURN statement is executed. While in LINK command, program control resumes its instruction following the LINK parameter. The disadvantage of LINK is that it requires that both the calling program and the called program remain in main memory even though both are no longer needed.

Sunday, April 20, 2014

What are different ways of INITIATING transaction in CICS ?



It can be done in below ways :
1.     BY GIVING TRANSACTION ID
2.     BY GIVING CICS START COMMAND
      3. AUTOMATIC TASK INITIATION.

What command do you issue to delete a record in a transient data queue or TDQ ?


READQ TD, the read is destructive.

CICS : How do you access the records randomly in TSQ ?


Answer: By specifying the ITEM option

What command do you issue to delete a record in a transient data queue or TDQ ?


READQ TD, the read is destructive. Yes it is correct but there is a restriction. U can deletethe records sequentially.. For example if one want to delete 10 th record directly it is not possible with this

CICS : How many exceptional condition can be given in a HANDLE CONDITION ?


Max. of 12 exceptional conditions can be given in a single HANDLE CONDITION.

What does EIB mean?


The EIB is the EXECUTIVE INTERFACE BLOCK. It is not the EXECUTE INTERFACE BLOCK. All TP monitors or transaction processors are know as Executives as they carry out process on behalf of a program module. CICS and DB2 are executives.