| Next Tip?
Home » CICS, Cobol

CICS interview Questions Part – III

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

Q21)   What is the option specified in the read operation to gain multiple concurrent operations on the same dataset?

A21)   REQID(value).

Q22)   What is the CICS command that gives the length of TWA area?

A22)   EXEC CICS ASSIGN

TWALENG(data-value)

END-EXEC.

 

Q23)   What are the attribute values of Skipper and Stopper fields?

A23)   ASKIP, PROT.

 

Q24)   How do you set the MDT option to ‘ON’ status,  even if data is not entered?

A24)       Mention FSET option in DFHMDF or set it dynamically in the program using FIELD+A attribute field.

 

Q25)   What option is specified in the SEND command to send only the unnamed fields on to the screen?

A25)   MAPONLY_______________.

 

Q26)   Which CICS service transaction is used to gain accessibility to CICS control tables? Mention the one that has the highest priority.

A26)       CEDA

 

Q27)   What is the most common way of building queue-id of a TSQ? (Name the constituents of the Queue ID).

A27)   TERMID+TRANSACTION-ID.

 

Q28)   Into which table is the terminal id registered?

A28)   TCT.

 

Q29)   How and where is the TWA size set? .

A29)   TWASIZE=300 in PCT table.

 

Q30)   Which transient data queue supports ATI?

A30)   INTRA-PARTITION  Data queue.

 


Q31)   Code the related portions of CICS/COBOL-I programs to gain addressability to TWA area assigned to a particular task. Assume that the size of TWA area is 300 bytes. What are the advantages if COBOL-II is used in the place of COBOL? Code the above requirement in COBOL-II.

A31)  

COBOL- II PROGRAM

 

LINKAGE SECTION.

01   PARMLIST.

02   FILLER PIC S9(8) COMP.

02   TWA-PTR S(98) COMP.

 

01   TWA-DATA-LAYOUT.

02           DATA-AREA               PIC X(300).

 

PROCEDURE DIVISION.

……….

        EXEC CICS ADDRESS

                        TWA(TWA-PTR)

        END-EXEC

        SERVISE RELOAD TWA-DATA-LAYOUT.

 

COBOL- II PROGRAM

 

LINKAGE SECTION.

01   TWA-DATA-LAYOUT.

05   DATA-AREA       PIC X(300).

 

PROCEDURE DIVISION.

……….

        EXEC CICS ADDRESS

                        TWA(ADDRESS OF  TWA-DATA-LAYOUT)

        END-EXEC

………

Popularity: unranked [?]

Related interview questions

Leave your response!

You must be logged in to post a comment.