| Next Tip?
Home » CICS, Mainframe

CICS interview Questions Part – XII

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

Q271)    What is the command for reading a record form a TSQ?

A271)     READQ TS, READQ

Q272)    What will happen, if an out-of-range or negative value is specified in the LENGTH option of the SEND

command?

A272)     The OUTRAGE condition will be set

Q273)    Which is the control table where you specify all the transaction that are to be started by CICS after CICS start-up?

A273)     Sign-on table

Q274)    A HANDLE CONDITION remains active until the end of the program or until another HANDLE CONDITION command (True or False).

A274)     True

Q275)    In the conversational mode the system waits for the user to enter his response and then press an attention key, and while waiting the resources are held by the program or task.  So conversational mode of programming is inefficient (True or False)

A275)     True

Q276)    Which is the macro used for making an entry in the PPT

A276)     DFHPPT

Q277)    The goal of a recovery process is to Maintain the integrity of the data processed by the system and to minimize the impact of a task or system failure (True or False).

A277)     True

Q278)    What is the primary objective of CICS ?

A278)     To provide the control and services of the DB/DC system

Q279)    If no exception handling is provided in the program, what will happen ?

A279)     CICS will take the default action specified for the condition

Q280)    What is the CICS supplied transaction which performs syntax checking of a CICS command?

A280)     CEMT

Q281)    What is the process of converting the CICS commands into the equivalent host language statements called?

A281)     Translation

Q282)    What is the function of the LOAD command?

A282)     To fetch a program, table or map to the main storage.

Q283)    What is the CICS Command that is used for reading a record from the TDQ?

A283)     READQ

Q284)    LENGERR, NOTAUTH and PGMIDERR are some of the common exception conditions that can occur with LINK and XCTL (True or False).

A284)     False

Q285)    Which of the following are recoverable CICS resources?

A285)     Data files and data bases, Intrapartition TDQs, Auxiliary TSQs

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

A286)     DTB

Q287)    What is the command used for receiving a map from a terminal?

A287)     RECEIVE MAP

Q288)    The mode of achieving conversation with the user, by sending him the message and while waiting for his response, freeing the system resources is called

A288)     Pseudo-conversation

Q289)    Which is the command used for terminating a browse operation?

A289)     ENDBR

Q290)    What is the primary function of the Processing Program Table (PPT)?

A290)     To register all programs and maps

Q291)    Sync points cannot be requested by the application programs(True or False).

A291)     False

Q292)    Which is the command that is used to dump the main storage areas related to a task?

A292)     DUMP

Q293)    What is the CICS command that is used to copy a screen image of a terminal into another terminal?

A293)     ISSUE COPY

Q294)    What is the name of the log which contains the information needed to restart the system, including the task sync point information and system activity key points, snapshots of key system tables, etc.

A294)     Dynamic Log

Q295)    The EIB field which gives the last CICS command executed is

A295)     EIBRCODE

Q296)    The READ command with INTO option will read the record specified into the data area specified (True or false).

A296)     False

Q297)    The attribute character is an visible 1 byte character which precedes a screen field and determines the characteristics of the field (True or False).

A297)     True

Q298)    What is the function of the Terminal Control table?

A298)     To register all CICS terminals


Q299)    Which is the CICS control program that provides communication services between user written application programs and terminals?

A299)     Terminal Control Program

Q300)    CICS Command level is

A300)     Low level version of CICS macro level

Q301)    TSQs can be written in the Main storage or Auxiliary storage (True or False).

A301)     True

Q302)    what is difference between call and link ?

A302)     In case of call , whenever you do changes to the called program you need to compile the calling program also. In case of link , it is not needed .

Q303)    what are the differences between DFHCOMMAREA and TSQ ?

A303)     Both are used to save data among tasks. but 1. COMMAREA is private to that transaction only . like every transaction has its own COMMAREA created by CICS as soon as the transaction is initiated . however TSQ , if queue id is known can be accessed by other transactions also 2. COMMAREA length is s9(4) comp i.e. 65k . but TSQ can have any length.3. COMMAREA is available only during the transaction is running. TSQ if created with auxiliary option resides in aux memory and available even if main memory crashes.4.normally COMMAREA is used to transfer data from one task to another while tsq is used widely within the task as a scratch pad.

Q304)    What is Communication Area?

A304)     Communication Area is used to pass data between the program or between the task.

Q305)    Which of the following statements correctly describe the syntax of CICS command language?

A).   If an EXEC CICS command must be continued onto a second line a hyphen (-) must be coded in column 7 of the continued line.

B).   If an EXEC CICS command must be continued onto a second line an  ‘X’ must be coded in column 72 of each line to be continued.

C).   An EXEC CICS command CANNOT be coded within a COBOL IF statement, between the IF command and the period (.) ending it.

D).   The END-EXEC delimiter is optional and never needs to be placed at the end of a CICS command.

E).   The options specified within an EXEC CICS command can be in any order.

A305)     E. The options specified within an EXEC CICS command can be in any order. For example ‘exec CICS Send From(Msg1) Length(30) End-Exec’ can also be coded ‘exec Cics Send Length(30) From(Msg1) End-Exec’

Q306)    A CICS program ABENDS with an ASRA ABEND code. What is its meaning?

A)   A link was issued to a program whose name does not exist in the PPT (Program Processing Table).

B)   A program attempted to use a map that is not defined in the PCT (Program Control Table).

C)    A security violation has occurred. The operator is not defined with the proper authority in the SNT (Sign-

on Table) to use a particular file

D)    A program interrupt (0C0 or 0C1 or 0C2 or …) has occurred in a CICS program.

E)    An I/O error has occurred when attempting to use a VSAM file from a CICS program

A306)     A program interrupt (0C0 or 0C1 or 0C2 or …) has occurred in a CICS program.


Q307)    Which of the following commands, when issued by 2 different programs running at the same time, will prevent simultaneous use of resource ‘SINGLE’?

B) EXEC CICS PROTECT RESOURCE(‘SINGLE’) LENGTH(6) END-EXEC.

C) EXEC CICS HOLD RESOURCE(‘SINGLE’) LENGTH(6) END-EXEC.

D) EXEC CICS TASK SINGLE(‘SINGLE’) LENGTH(6) END-EXEC.

E) EXEC CICS EXCLUSIVE RESOURCE(‘SINGLE’) LENGTH(6) END-EXEC.

A307)     EXEC CICS EXCLUSIVE RESOURCE(‘SINGLE’) LENGTH(6) END-EXEC

Q308)    The map shown below is displayed with:

EXEC CICS SEND MAP(‘MAP1′) MAPSET(‘MAP1S’) MAPONLY END-EXEC. After the screen is displayed, the operator enters 1 character, the letter ‘X’. Where will the cursor now appear on the screen?

MAP1S DFHMSD

TYPE=MAP,MODE=INOUT,CTRL=(FREEKB,FRSET),LANG=COBOL, X TIOAPFX=YESMAP1

DFHMDI SIZE=(24,80) DFHMDF POS=(5,1),ATTRB=UNPROT,LENGTH=1FIELD2 DFHMDF

POS=(5,3),ATTRB=UNPROT,LENGTH=1FIELD3 DFHMDF

POS=(5,5),ATTRB=(UNPROT,IC),LENGTH=1FIELD4 DFHMDF

POS=(5,7),ATTRB=ASKIP,LENGTH=1FIELD5 DFHMDF

POS=(5,9),ATTRB=UNPROT,LENGTH=1,INITIAL=’Z’ DFHMDF

POS=(5,11),ATTRB=ASKIP,LENGTH=1 DFHMSD

A) In the field with a POS=(5,1) B) In FIELD2. C) In FIELD3. D) In FIELD4. E) In FIELD5.

A308)     In FIELD5

Q309)    How can you accomplish breakpoint in intertest?

A309)     U-for unconditional breakpoint, C-for conditional breakpoint, and A-for automatic breakpoint

Q310)    How many ways are there for initiating a transaction? what are they?

A310)     There are six ways in initiating a transaction.they are as follows.

1.     embedding four character transid on the top left most corner of the screen.

2.     making use of EXEC CICS START TRANSID ( )

3.     making use of EXEC CICS RETURN TRANSID ( )

4.     By defining the transid in DCT (destination control table) to enable ATI (AUTOMATIC TASK INITIATION)

5.     Making use of PLT ( program list table)

6.     By associating four character transid in PCT (program control table)

Q311)    Which type of TDQ is read destructive?

A311)     Intrapartition TDQ is read destructive. extra partition tdq is not read destructive.

Q312)    The error code AEIV?

A312)     This is the error code for length, if length of the source data is more than the receiving field, This error will occur.

Q313)    What is the size of commarea

A313)The default commarea size is 65k.

Q314)    What is ASRAABEND in CICS?

A314)     It occurs when program interruption takes place. e.g.: when alphanumeric string moved to numeric data item OR when arithmetic calculations performed on nonnumeric data item OR when an attempt made to read an occurrence of a table beyond the defined occurrences.

Q315)    What is a two Phase commit in CICS?

A315)     This occurs when a programmer Issues a Exec CICS Syncpoint command. this is called two phase because CICS will first commit changes to the resources under its control like VSAM files. and the DB2 changes are committed. Usually CICS signals Db2 to complete the next phase and release all the locks.

Popularity: unranked [?]

Related interview questions

Leave your response!

You must be logged in to post a comment.