| Next Tip?
Home » CICS, Cobol

CICS interview Questions Part – VI

9 August 2009 215 views No Comment
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 3.00 out of 5)
Loading ... Loading ...

Q71)   What does the following transactions do?

A71)   CEDF : CICS-supplied  Execution  Diagnostic  Facility  transaction.  It  provides interactive  program execution  and  debugging  functions  of  a  CICS programs.

CEMT : CICS-supplied  Extended  Master  Terminal  transaction.  It  displays  or  manipulates CICS control environment  interactively.

CEBR : CICS-supplied  Temporary  Storage  Browse  transaction.  It  displays  the  content of 

               Temporary Storage  Queue ( TSQ ).

CECI :  CICS-supplied  Command  Interpreter  transaction.  It  verifies  the  syntax  of  a CICS  command and  executes  the  command.

                                

Q72)   Explain floating maps with illustration.

A72)   Maps which can position themselves  relative to the previous maps on the screen or  page are known as the floating maps. For this  you  have to use special positional operands to LINE and COLUMN parameters of the BMS macro definition. They are SAME, NEXT. Actually this floating map concept is there only in Full BMS where as it is not available in Min.  or  Standard  BMS macros. RECEIVE  MAP is not  recommended in the case of floating maps. Hence these maps are normally  used to send information such as selected records from a  database to screen but not for data entry. A  mapset  can contain more than one m ap in it, you may use all these maps to build a screen.  In  that case  there  are  two ways to send these maps on to the  screen

          i ) Use separate SEND MAP commands one for each map involved. or

          ii) Use  ACCUM operand along with SEND MAP command and while sending really on to the  screen use SEND PAGE to display them  at one shot.              The second one is called  cumulative mapping scheme where you also can use  floating maps. 

                Let’s take a situation where you have to build a screen like this

                       HEADER MAP (no. of A gr. employs)

                       DETAIL MAP    (employee list )

                        TRAILER MAP  (Press a key to continue…)

Under such situations whatever the detail map needed  that  is  to  be   displayed again and again to display all the information  one  screenful  at  a  time.  In this  floating map concept helps.

Code the map like this 

    M1 DFHMDI …… HEADER=YES,JUSTIFY=FIRST………………

    M2 DFHMDI ……  ……………………. LINE=NEXT………………..

M3 DFHMDI ……..TRAILER=YES,JUSTIFY=LAST………………………

Here M2 is detail map, which is coded as floating map. Procedure:

Every time using cumulative map technique send header (first) and followed by  detail  map  next  into a  page buffer once the page is full an overflow occurs by   using  CICS HANDLE OVERFLOW command send first trailer map then header  map  ( This will do two things a) it sends previous map on to the screen b) starts  fresh page buffer ).  Repeated this until no more records to be retrieved. Here M2  is the one which holds the record values read from the file.

 

Q73)   What is the function of the Terminal Control Table(TCT)?

A73)   The TCT defines the characteristics of each terminal with which CICS can communicate.

 

Q74)   What does it mean when EIBCALEN is equal to zeros?

A74)   When the length of the communication area (EIBCALEN) is equal to zeros, it means that no data was passed to the application.

 

Q75)   How can the fact that EIBCALEN is equal to zeros be of use to an application programmer?

A75)   When working in a pseudo-conversational mode, EIBCALEN can be checked if it is equal to zero. A programmer can use this condition as a way of determining first time usage(of the program).

 

Q76)   Which CICS system program is responsible for handling automatic task initialization?

A76)   The Transient Data Program(TDP).

 

Q77)   In an on-line environment, how can you prevent more than one user from accessing the same Transient Data Queue at the same time?

A77)   By issuing an EXEC CICS ENQ against the resource. When processing is completed, a DEQ should be executed.

 

Q78)   When an application is invoked via the EXEC CICS START command with the from option, how does the application gain access to the common area?

A78)   An EXEC CICS RETRIEVE command will access the common area.

 

Q79)   The DFHCOMMAREA is used to pass information from one application to another. What are some other ways that this function can be accomplished?

A79)   You can also pass information in the following ways.

                – By using a temporary storage queue

                – By using an intrapartition TDQ

                – By using the Task Work Area

                – By using TCTUA

                – Through a file

 

Q80)   How do you define Task Work Area?

A80)   By defining it on the PCT (the Program Control Table)

 

Q81)   What information do you get when an EXEC CICS STARTCODE is issued?

A81)   You will be able to determine if the application was started by (1) a transient data trigger level(QD), (2) a START command (S,SD), (3) user (U) or terminal input (TD), or (4) Distributed Program Link(D,DS).

 

 

Q82)   Which CICS command must be issued by the application program in order to gain access to the Common Work Area(CWA)?

A82)   EXEC CICS ADDRESS with CWA option.

 

Q83)   In which CICS table would you specify the length of the TASK WORK AREA (TWA)?

A83)   In the Program Control Table(PCT).

 

Q84)   What is a deadlock?

A84)   Deadlock (also known as a “deadly embrace”) occurs when a task is waiting for a resource held by another task which, in turn, is waiting for a resources held by the first task.

 


Q85)   Explain the term Transaction routing?

A85)   Transaction routing is a CICS mode of intercommunication which allows a terminal connected to local CICS to execute another transaction owned by a remote CICS.

 

Q86)   Explain the term Function Request Shipping?

A86)   Function request shipping is one of the CICS modes of intercommunication which allows an application program in a local CICS to access resources owned by a remote CICS.

 

Q87)   Explain the term “MRO” (Multi Region Operation)?

A87)   MRO is the mechanism by which different CICS address spaces with in the same  CPU can communicate and share resources.

 

Q88)   What are different system tables used in CICS?

A88)   PCT, FCT, TCT, DCT, PPT

 

Q89)   What is multitasking and multithreading?

A89)   Multitasking is the feature supported by the operating system to execute more than one task simultaneously. Multithreading is the system environment where the tasks are sharing the same programs load module under the multitasking environment. It is a subset of multitasking since it concerns tasks which use the same program.

 Q90)   What is the difference between link xctl?

A90)       Link is temporary transfer of control. Xctl is permanent transfer of control

Popularity: unranked [?]

Related interview questions

Leave your response!

You must be logged in to post a comment.