Ibm-cics Placement Papers - Ibm-cics Interview Questions and Answers updated on 27.Jul.2024

Q1. How Do You Place The Cursor On A Particular Position On The Screen?

Move -1 to the length attribute of the field aand use the CURSOR option.

Q2. What Is The Common Systems Area (csa)?

The common systems area is the major CICS control block that contains system information, including pointers to most other CICS control blocks. The CSA points to all members of STATIC storage.

Q3. What Is Cedf?

CEDF is the execute diagnostic facility that can be used for debugging CICS programs.

Q4. Do You Require A Table Entry For A Tsq?

If recovery is needed.

Q5. What Is An Aica Abend?

Runaway Task.

Q6. Specify The Requirements For Automatic Task Initiation. (mention The Control Table, It Is Entries And The Corresponding Procedure Division Cics Command).?

DFHDCT TYPE = INTRA,
DESTIN = MSGS,
TRANSID = MSW1,
TRIGLEV = 1000

EXEC CICS WRITEQ TD
QUEUE('MSGS'),
FROM(DATA-AREA),
LENGTH(MSG_LEN)
END-EXEC.

Q7. What Is The Primary Objective Of Cics?

To provide the control and services of the DB/DC system.

Q8. Kindly Specify The Pic Clause For The Following: Any Bll Cell, Data Type Of Length Option Field, Hhmmss Type Of Data Fields?

Any BLL Cell -S9(8) COMP
Data type of length Option field - S9(4) COMP
HHMMSS type of data fields - S9(7) COMP 3

Q9. Which Option Of The Pct Entry Is Used To Specify The Pf Key To Be Pressed For Initiating A Traction?

TASKREQ=PF1

Q10. Define The Field With Ic In The Bms Map.

Use CURSOR(n m)??

Q11. What Is The Eib Parameter And The Cics Command Used To Implement Pseudo-conversational Technique Using Single Pct - Single Ppt Entry?

EIBCALEN - To check if COMMAREA has been passed in terurn command.
EXEC CICS RETURN
TRANSID(data-name)
COMMAREA(data-area)
LENGTH (data-value)
END-EXEC

Q12. Name The Macros Used To Define The Following:

MAP MAPSET FIELD
DFHMSD DFHMDI DFHMDF

Q13. How Are Vsam Files Read In Cics Pgms?

File Control Commands. Random, Sequential, forward and backward.

Q14. What Are The Differences Between Temporary Storage Queue (tsq) And Trient Data Quene (tdq)?

Temporary Storage Queue names are dynamically defined in the application program, while TDQs must first be defined in the DCT (Destination Control Table). When a TDQ contains certain amount of records (Trigger level), A CICS traction can be started automatically. This does not happen when using a TSQ. TDQ (extra partition) may be used by batch application; TSQ cannot be accessed in batch. The Trient Data Queue is actually a QSAM file. You may update an existing item in a TSQ. A record in a TDQ cannot be updated. Records in TSQ can be read randomly. The TDQ can be read only sequentially. Records inTemporary Storage can be read more than once, while recordes stored in Temporary Data Queues cannot. With TDQs it is "one read" only.

Q15. What Are The Two Ways Of Breaking A Cpu Bound Process To Allow Other Task To Gain Access To Cpu?

EXEC CICS DELAY EXEC CICS DELAY
INTERVAL(hhmmss) TIME(hhmmss)
END-EXEC END-EXEC

Q16. The Error Code Aeiv?

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

Q17. What Command Do You Issue To Delete A Record In A Trient Data Queue?

READQ TD, the read is destructive.

Q18. In An On-line Environment, How Can You Prevent More Than One User From Accessing The Same Trient Data Queue At The Same Time?

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

Q19. What Is The Cics Command That Is Used For Reading A Record From The Tdq?

READQ

Q20. What Is Multitasking And Multithreading?

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 task which use the same program.

Q21. Can You Access Esds Files From Cics?

Yes

Q22. What Is The Differences Between Getting The System Time With Eibtime And Asktime Command?

The ASKTIME command is used to request the current date and time. Whereas, the EIBTIME field have the value at the task initiation time.

Q23. When An Xctl Is Done, Does The Tranid Change ? Is A New Task Created ? Does It Cause An Implicit Syncpoint To Be Issued ?

No, No, Yes.

Q24. How Do You Execute A Background Cics Txn ?

With a START or ATI.

Q25. Do You Receive The Attribute Byte In The Symbolic Map?

On EOF yes.

Q26. Which Cics System Program Is Responsible For Handling Automatic Task Initialization?

The Trient Data Program (TDP).

Q27. What Do You Do If You Do Not Want Characters Entered By The User To Be Folded To Uppercase ?

Use ASIS option on RECEIVE.

Q28. How Do You Read From A Tsq?

Temp storage read command

Q29. What Does Eib Mean?

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

Q30. Sync Points Cannot Be Requested By The Application Programs (true Or False)?

False

Q31. What Is A Two Phase Commit In Cics?

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 signal DB2 to complete the next phase and release all the locks.

Q32. In Which Cics Table Would You Specify The Length Of The Task Work Area (twa)?

In the Program Control Table (PCT).

Q33. Into Which Table Is The Terminal Id Registered?

TCT.

Q34. Suppose Pgm A Passes 30 Bytes To Pgm B Thru Commarea And Pgm B Has Defined Its Dfhcommarea To Be 50 Bytes . Is There A Problem ?

Yes, if B tries to access bytes 31-50.

Q35. What Is Mdt? What Are Fset, Frset ?

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 trmitted. Happens on an output operation.
FRSET: Resets MDT. Until this happens, field continues to be sent.

Q36. Name Some Common Cics Service Programs And Explain Their Usage?

Terminal Control, File Control, Task Control, Storage Control, etc, Each CICS service program controls the usage and status for its resource (file, terminal, etc) within the CICS region.

Q37. How Do You Terminate An Already Issued Delay Command?

EXEC CICS CANCEL
REQID(id)
END-EXEC

Q38. Explain The Term Function Request Shipping?

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.

Q39. Why Is It Important Not To Execute A Stop Run In Cics?

Stop run will come out from the CICS region.

Q40. What Is The Function Of Dfhmdf Bms Macro?

The DFHMDF macro defines fields, literal, and characteristics of a field.

Q41. Can You Access Esds Files From Cics ?

Yes.

Q42. Db2 What Is The Difference Between A Package And A Plan. How Does One Bind 2 Versions Of A Cics Traction With The Same Module Name In Two Different Cics Regions That Share The Same Db2 Subsystem?

Package and plan are usually used synonymously, as in this site. Both contain optimized code for SQL statements - a package for a single program, module or subroutine contained in the database request module (DBRM) library. A plan may contain multiple packages and pointers to package that could be referenced in two different pl.

Q43. How Many Ways Are There For Initiating A Traction ? What Are They?

There are six ways in initiating a traction they are as follows.
@embedding four character trid on the top left most corner of the screen.
@making use of EXEC CICS START TRANSID()
@making use of EXEC CICS RETURN TRANSID()
@By defining the trid in DCT ( destination control table ) to enable ATI ( AUTOMATIC TASK INITIATION)
@Making use of PLT ( program list table )
@By associating four character trid in PCT ( program control table )

Q44. Mention The 5 Fields Available In The Symbolic Map For Every Named Field In The Dfhmdi Macro? Give A Brief Description Of These Fields (not Exceeding A Line).?

FIELD+L - Return the length of text entered (or for dymanic cursor positioning)
FIELD+F - Return X(80) if data entered but erased.
FIELD+A - Used for attributes reading and setting
FIELD+I - Used for reading the text entered while receiving the map.
FIELD+O - Used for sending information on to the MAP.

Q45. Explain The Term Mro (multi Region Operation)?

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

Q46. How Can The Fact That Eibcalen Is Equal To Zeros Be Of Use To An Application Programmer?

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).

Q47. What Is A Mapset?

A mapset is a collection of BMS maps link-edited together.

Q48. What Is The Function Of The Terminal Control Table?

To register all CICS terminals

Q49. What Is Exec Cics Retrieve?

Used by STARTed tasks to get the parameters passed to them.

Q50. Can You Use Dynamic Calls In Cics ?

Yes, the called routine must be defined in PPT and the calling program must use CALL identifier..