Mainframe CICS Interview Questions and Answers

Interview Questions on Mainframe CICS. 

These questions can be expected in various companies like IBM and HP.

Can you tell me how do you use extended attributes ?
Answer : Define EXTATT=YES and the correct terminal type.

What are the three working storage fields used for every field on the map?
Answer : Length, attribute and input/output field.

What is meant by a attribute byte? 
Answer : Defines the display/transmission of field. most cases is an output field from the program.

What do you mean by MDT? What are FSET and FRSET ?

Answer : Modified Data Tag. Bit in the attribute byte indicating modification of field on screen. Happens on an input operation.
FSET. Sets MDT on to ensure field is transmitted. Happens on an output operation.
FRSET. Resets MDT. Until this happens, field continues to be sent.

Why do we use DSECT parameter in BMS?

Answer : It is the parameter used to generate a symbolic map.

Can you receive the attribute byte in the symbolic map?
Answer : On EOF yes.

How can you make your BMS maps case sensitive in CICS?
Answer : To make BMS maps case sensitive, use ASIS

Why are SEND MAP MAPONLY & SEND MAP DATAONLY used for in CICS?

Answer : MAPONLY is used to send the map alone, without any data. For instance: used for sending Menu screens.
DATAONLY is used to send data alone, without sending the screen layout again. 
For instance: used for refreshing the screen data.

Differentiate between a PF key and a PA key in CICS ?

Answer : PF keys wake up the task and transmit modified data, PA keys only wake up the task.

Can you name the macros used to define the following:

Answer : MAP MAPSET FIELD
DFHMSD DFHMDI DFHMDF

Is there a possibility that you can define multiple maps in a BMS mapset?

Answer : Yes, we can define multiple maps.

How  do you determine the storage in the symbolic map, if you have multiple maps?

Answer : Storage for maps redefine the first. This means largest map has to be the first.

Tell me what is the meaning of BMS length of field = 0?

Answer : Data was not entered in the field

If you do not want characters entered by the user to be folded to uppercase, w
hat do you do ?
Answer : Use ASIS option on RECEIVE.

What does the BUFFER option in RECEIVE means in CICS?

Answer : Brings the entire datastream from the terminal buffer.

Tell me what are the steps you go through to a create a BMS executable?

Answer : Assemble to create CSECT and Link

Can you list all the CICS tables and explain their contents. 

Answer : PPT SIT,PCT JCT, FCT SNT, DCT SRT,RCT TCT

In a CICS program, what tables would you setup to run this program? 

Answer : PPT, PCT, (FCT, DCT, RCT (if only needed).

What is the table where would you make an entry for a BMS map? 

Answer : PPT is the table.

Can you tell me what is the content of the PPT entry?

Answer : Length, Source, Use count, Lang, Res count DFHRPL number

For a CICS-DB2 program, how is the plan referenced?

Answer : By using a RCT table.

Can you tell me how is dynamic memory allocated within a CICS application program? 

Answer : By using a GETMAIN

What is the use of a TDQ and TSQ in CICS? 

Answer : These are Temporary data stores.

How can you read from a TSQ? 

Answer : Temp storage read command.

If  you create a TSQ from one transaction, how can you read it from another transaction? 

Answer : Yes, we can create a transaction. As long as they run in the same region.

What are Extra partition and Intra partition TDQs in CICS?

Answer : Extra partition TDQs are datasets used for communication b’n CICS and other CICS/Batch regions. Intrapartition TDQs are queues for communication within regn.

Is there a requirement for a table entry for a TSQ?

Answer : Only if recovery is needed.
Related Posts

No comments:

 

Aired | Copyright © 2009-2014; All Rights Reserved 2014 | Contact Us | About Us