YouTube Icon

Interview Questions.

Top 100+ Ibm-cics Interview Questions And Answers - May 31, 2020

fluid

Top 100+ Ibm-cics Interview Questions And Answers

Question 1. What Is The Difference Between Start And Xctl?

Answer :

START is used to start a brand new challenge. It is a c program languageperiod manipulate command. XCTL is used to skip manage to a software in the same challenge. It is a program control command.

Question 2. What Are The Thress Bms Options?

Answer :

Minimum, Standard, FULL

VSAM Interview Questions
Question 3. What Is The Primary Objective Of Cics?

Answer :

To offer the manage and services of the DB/DC system.

Question four. Can You Access Esds Files From Cics?

Answer :

Yes

VSAM Tutorial
Question 5. Can You Access Qsam (seq) Files From Cics?

Answer :

No

IBM - VSAM Interview Questions
Question 6. How Would You Resolve An Asra Abend?

Answer :

In COBOL II begin with CEBR, and get the offset/training.

Question 7. What Is An Aica Abend?

Answer :

Runaway Task.

IBM-REXX Tutorial IBM-REXX Interview Questions
Question eight. What Is The Usage Of Language In The Ppt Entry?

Answer :

Language interface and get in touch with parameters

Question 9. How Do You Handle Errors In Cics Programs?

Answer :

Check EIBRESP after the call or use the HANDLE situation.

JCL Interview Questions
Question 10. Can You Use Dynamic Calls In Cics?

Answer :

Yes, the called habitual should be defined in PPT and the calling program should use CALL identifier...

IBM DB2 Tutorial
Question 11. Name Some Important Fields In The Eib Block?

Answer :

EIBRESP, EIBCALEN, EIBRRCDE, EIBTASK, EIBDATE, EIBTIME

IBM DB2 Interview Questions
Question 12. What Is Exec Cics Retrieve?

Answer :

Used with the aid of STARTed tasks to get the parameters passed to them.

VSAM Interview Questions
Question thirteen. What Is An Aey9 Abend?

Answer :

DB2/IDMS no longer up.

COBOL Tutorial
Question 14. What Is An Asra Abend?

Answer :

Any facts exception hassle SOC7, SOC4 etc.

Question 15. What Is Enq, Deq?

Answer :

Task control instructions to make assets serially reusable.

COBOL Interview Questions
Question 16. What Is The Use Of Dct?

Answer :

Destination Control Table used define TDQs

IBM-JCL Tutorial
Question 17. When You Compile A Cics Program, The (pre) Compiler Puts An Extra Chunk Of Code. Where Does It Get Included And That Is It Called? What Is Its Length?

Answer :

DFHEIBLK, DFHCOMMAREA.

IBM-JCL Interview Questions
Question 18. What Is Mdt? What Are Fset, Frset?

Answer :

MDT: Bit inside the attribute byte indicating amendment of area on display. Happens on an enter operation.
FSET: Sets MDT on to make sure field is transmitted. Happens on an output operation
FRSET: Reset MDT. Until this occurs, field remains sent.

IBM - VSAM Interview Questions
Question 19. What Is The Attribute Byte?

Answer :

Defines the display/transmission of area. Most instances is an output area from the program.

DB2 Using SQL Tutorial
Question 20. What Is The Difference Between Physical Map And Symbolic Map?

Answer :

The bodily map is the weight module and the symbolic map is the facts shape.

DB2 Using SQL Interview Questions
Question 21. Can A Program Change Protected Field?

Answer :

NO

Question 22. What Is The Difference Between A Symbolic Map And Physical Map?

Answer :

SYMBOLIC MAP IS USED BY USER AND PHYSICAL MAP IS USED BY SYSTEM

IBM Mainframe Tutorial
Question 23. Why Is It Important Not To Execute A Stop Run In Cics?

Answer :

Stop run will come out from the CICS vicinity.

IBM-JCL&VSAM Interview Questions
Question 24. How To Build Up Lu 6.2 Communication?

Answer :

Pseudo-conversational transactions are almost always the desired technique. In those mode CICS releases assets among responses to consumer input, i.E. The assignment is ended looking ahead to the user reaction.

IBM-REXX Interview Questions
Question 25. Db2 What Is The Difference Between A Package And A Plan. How Does One Bind 2 Versions Of A Cics Transaction With The Same Module Name In Two Different Cics Regions That Share The Same Db2 Subsystem?

Answer :

Package and plan are typically used synonymously, as in this web page. Both contain optimized code for SQL statements - a package for a unmarried software, module or subroutine contained inside the database request module (DBRM) library. A plan may additionally contain a couple of applications and suggestions to bundle that could be referenced in  specific plans.

Question 26. What Is The Abend Command And When Would You Use It?

Answer :

The ABEND command forces a assignment to give up abnormally. It creates a transaction unload and invokes the dynamic transaction backout.

IBM Mainframe Interview Questions
Question 27. What Is The Cics Load Command?

Answer :

The LOAD command retrieves an item program from disk and hundreds it into principal garage - it is normally used for a constant table with a view to be to be had gadget-extensive.

JCL Interview Questions
Question 28. What Is Task Control And What Are The Cics Commands Associated With It?

Answer :

Task control refers to the CICS functions that manage the execution of obligations. Task control commands are SUSPEND, ENQ, and DEQ.

Question 29. What Is Interval Control And What Are Some Of The Cics Commands Associated With It?

Answer :

CICS c program languageperiod control offers a ramification of time-associated features - not unusual commands are ASKTIME, PORMATTIME, START, RETRIEVE, and CANCEL.

Mainframe DB2 Interview Questions
Question 30. How Do You Delete Item three In A Five-item Tsq?

Answer :

You can not at least now not directly. Options, none of them accurate, inlude:
I. Adding a logical-delete flag to the contents of each item;
II. Transferring item 4 to 3 and five to four and initializing item 5, all via rewrites; this is a variant on 1;
III. Creating a new 'replica' TSQ that excludes the undesirable item, killing the vintage TSQ (deleteq ts). Writing the new TSQ with the original call from the new TSQ, and then deleting the 'replica' TSQ. This manner, you'll get an accurate record from NUMITEMS.

Question 31. What Is The Meaning Of The Enq And Deq Commands?

Answer :

Neither command is completely a brief data command. The ENQ command reserves any person defined useful resource for the particular task. For enqueued brief statistics no different mission could be capable of write facts to it for as long as it is enqueued. DEQ removes the lock.

Question 32. What Is A Logical Message In Cics?

Answer :

A logical message is a unmarried unit of output created by means of SEND TEXT or SEND MAP commands
BMS collects the separate output from each command and treats them as one entity.
This method can be used to construct CICS reviews.

Question 33. What Is Cebr?

Answer :

CEBR lets you browse the contents of a particular brief garage queue.

IBM DB2 Interview Questions
Question 34. What Is Cedf?

Answer :

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

Question 35. What Is Ceci?

Answer :

CECI is the command level interpreter transid that interactively executes CICS commands. It is a rudimentary CICS command debugger which does not require coding an entire application.

Question 36. What Is The Significance Of Rdo?

Answer :

RDO is Resource Definition Online. Since launch 1.6 RDO permits assets (terminals, applications, transactions and files) to be described interactively at the same time as CICS is running.

COBOL Interview Questions
Question 37. What Is A Cursor In Cics Sql Processing?

Answer :

A cursor is a pointer that identifies one row in a SQL outcomes table because the modern-day row.

Question 38. What Is The Massinsert Option?

Answer :

MASSINSERT is a WRITE choice that modifies regular VSAM cut up processing, leaving loose area after the inserted record, so subsequent information can be inserted with out splits. It's far ended by means of an UNLOCK command.

Question 39. What Is The Meaning Of The Syncpoint Command?

Answer :

SYNCPOINT with out the ROLLBACK option makes all updates to included assets everlasting, with the ROLLBACK option it reverses all updates.

Question forty. What Is Journal Recovery And Dynamic Transaction Backout?

Answer :

Journal Recovery is healing of adjustments made to a file throughout on line processing. If a file has I/O issues it's miles restored from a backup taken earlier than on line processing started and the journalled adjustments are carried out. Dynamic transaction backout is the removal of partial changes made by way of a failed transaction.

IBM-JCL Interview Questions
Question forty one. What Are Transient Data Sets Defined To Cics?

Answer :

They are defined inside the vacation spot manage table (DCT).

Question 42. What Are The Two Types Of Transient Data Queues?

Answer :

They are intrapartition, that may simplest be accessed from with CICS and extrapartition, which are typically used to collect facts on line, however process it in a batch surroundings.

DB2 Using SQL Interview Questions
Question 43. What Is Transient Data?

Answer :

Transient statistics gives CICS software with a easy technique for sequential processing, often used to produce output for 3270 printers.

Question 44. What Is Temporary Storage?

Answer :

Temporary garage is either major or auiliary garage that permits this system to save facts between assignment invocations.

Question forty five. What Is An Asra?

Answer :

An ASRA is the CICS interrupt code, the equal of an MVS abend code.

Question 46. How Do You Control Cursor Positioning?

Answer :

It's controlled via the cursor choice of the SEND MAP command the use of a direct (0 through 1919) or symbolic value.

Question forty seven. What Is The Meaning And Use Of The Eibaid Field?

Answer :

EIBAID is a key area in the execute interface block; it suggests which attention key the user presse to provoke the challenge.

Question forty eight. How Do You Access Storage Outside Your Cics Program?

Answer :

In COBOL garage was accessed thru BLL mobile the use of the SET option of ADDRESS commands. In COBOL II the special sign in. ADDRESS OF helps you to reference the deal with of any Linkage Section discipline.

Question 49. What Is The Function Of The Load Command?

Answer :

To fetch a software, desk or map to the main garage.

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

Answer :

READQ

Question 51. Which Of The Following Are Recoverable Cics Resources?

Answer :

Data files and records bases, Intrapartition TDQs, Auxiliary TSQs.

Question fifty two. Which Is The Command Used For Terminating A Browse Operation?

Answer :

ENDBR

Question 53. What Is The Primary Function Of The Processing Program Table (ppt)?

Answer :

To check in all programs and maps

Question fifty four. Sync Points Cannot Be Requested By The Application Programs (authentic Or False)?

Answer :

False

Question fifty five. Which Is The Command That Is Used To Dump The Main Storage Areas Related To A Task?

Answer :

DUMP

Question fifty six. What Is The Cics Command That Is Used To Copy A Screen Image Of A Terminal Into Another Terminal?

Answer :

ISSUE COPY

Question 57. The Eib Field Which Gives The Last Cics Command Executed Is?

Answer :

EIBRCODE

Question fifty eight. Which Is The Cics Control Program That Provides Communication Services Between User Written Application Programs And Terminals?

Answer :

Terminal Control Program

Question 59. Cics Command Level Is?

Answer :

Low degree version of CICS macro degree

Question 60. Tsqs Can Be Written In The Main Storage Or Auxiliary Storage ( True Or False)?

Answer :

True

Question sixty one. What Is Difference Between Call And Link?

Answer :

In case of name, each time you do changes to the referred to as application you need to compile the calling application also. In case of link, it is not wished.

Question sixty two. What Are The Differences Between Dfhcommarea And Tsq?

Answer :

Both are used to store facts among obligations. But
1. COMMAREA is private to that transaction most effective like each transaction has its very own COMMAREA created via CICS as soon as the transaction is initiated. However TSQ, if queue identification is known can be accessed by means of other transactions additionally
2. COMMAREA duration is s9(4) comp i.E. 65k. However TSQ can have any length
3. COMMAREA is available simplest at some point of the transaction is going for walks. TSQ if created with auxiliary option resides in aux memory and available even though principal reminiscence crashes
four. Normally COMMAREA is used to transfer statistics from one assignment to another even as TSQ is used widely within the challenge as a scratch pad.

Question sixty three. What Is Communication Area?

Answer :

Communication Area is used to pass information between this system or between the mission.

Question sixty four. A Cics Program Abends With An Asra Abend Code, What Is Its Meaning?

Answer :

Alink became issued to a application whose name does not exist in the PPT (Program Processing Table).
A software tried to use a map that isn't always defined inside the PCT ( Program Control Table).
A protection violation has took place. The operator isn't always defined with the proper authority inside the SNT ( Sign on Table ) to apply a particular record.
 A program interrupt (0C0 or 0C2 ot ...) has happened in a CICS application.
An I/O mistakes has passed off whilst trying to use a VSAM record from a CICS program.
 

Question sixty five. How Can You Accomplish Breakpoint In Intertest?

Answer :

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

Question sixty six. How Many Ways Are There For Initiating A Transaction ? What Are They?

Answer :

There are six ways in initiating a transaction they're as follows.
1. Embedding 4 individual transid on the pinnacle left maximum corner of the screen.
2. Utilising EXEC CICS START TRANSID()
3. Utilising EXEC CICS RETURN TRANSID()
4. By defining the transid in DCT ( vacation spot manipulate table ) to allow ATI ( AUTOMATIC TASK INITIATION)
5. Making use of PLT ( application listing desk )
6. By associating 4 individual transid in PCT ( application control desk )

Question sixty seven. Which Type Of Tdq Is Read Destructive?

Answer :

Intrapartition TDQ is read adverse. More partition TDQ isn't read detrimental.

Question 68. The Error Code Aeiv?

Answer :

This is the mistake code for period, if duration of the supply statistics is more than the receiving discipline, This errors will arise.

Question sixty nine. What Is The Size Of Commarea?

Answer :

The default commarea length is 65k.

Question 70. What Is Asraabend In Cics?

Answer :

It takes place when application interruption takes region. E.G. While alphanumeric string moved to numeric records item OR when arithmetic calculations completed on nunnumeric information object OR while an strive made to study an incidence of a desk beyond the defined occurrences.

Question 71. What Is A Two Phase Commit In Cics?

Answer :

This takes place when a programmer Issues a EXEC CICS Syncpoint command. This is called  section because CICS will first commit adjustments to the sources beneath its manipulate like VSAM documents, and the DB2 changes are dedicated. Usually CICS sign DB2 to complete the next phase and release all the locks.

Question seventy two. Difference Between Tsq And Tdq?

Answer :

TDQ is read destructive, TSQ isn't always, TSQ may be created dynamically, TDQ can't be created dynamically. TSQ is brief in nature (i.E. It is going to be deleted when this system finishes execution, except it's miles made permanent with the aid of creating a entry within the Temporary Storage Table), TDQ isn't always.

Question seventy three. In Symbolic Cursor Positioning After Moving - 1 To The Length Field Also The Cursor Is Not Positioned In That Particular Field. Give Reasons?

Answer :

You should explicitly specify the phrase CURSOR between your EXEC CICS and END-EXEC inside the program.

Question 74. What Does Eib Mean?

Answer :

The EIB is the EXECUTIVE INTERFACE BLOCK. It isn't always the EXECUTE INTERFACE BLOCK. All TP video display units or transaction processor are realize as EXECUTIVEs as they carry out technique on behalf of a program module. CICS and DB2 are executives.

Question seventy five. How Many Exceptional Condition Can Be Given In A Handle Condition?

Answer :

Max. Of 12 high-quality situations may be given in a HANDLE CONDITION.

Question 76. How Do You Access The Records Randomly In Tsq?

Answer :

By specifying the ITEM alternative

Question 77. What Command Do You Issue To Delete A Record In A Transient Data Queue?

Answer :

READQ TD, the examine is detrimental.

Question 78. What Are Different Ways Of Initiating Transaction In Cics?

Answer :

We can provoke CICS transaction
a) by way of giving transaction identification
b) by using giving CICS start command
c) computerized challenge initiation.

Question seventy nine. What Is The Difference Between Link And Xctl?

Answer :

The XCTL command passes manage to every other software, however the assets asked through the first software might also still be allocated. A mission does not give up till a RETURN statement is done. While in LINK command, program control resumes its guidance following the LINK parameter. The disadvantage of LINK is that it calls for that both the calling application and the called program continue to be in principal reminiscence even though each are not needed.

Question 80. What Is The Difference Between Cics Program Control Table (pct) And Cics Processing Program Table (ppt)?

Answer :

PCT consists of a list of valid transaction ID. Each transaction ID is paired with the name of this system, CICS will load and execute when the transaction is invoked. On the other hand, PPT indicates each software's place which pertains to a garage deal with if the program has already been loaded or a disk vicinity if the program hasn't been loaded. PPT may also be used to detemine whether or not it's going to load a brand new replica of this system while the transaction is invoked.

Question eighty one. What Are The three Common Ways To Create Maps?

Answer :

The first way is to code a bodily map after which code a matching symbolic map to your COBOL software. The 2d way to create a bodily map along with a matching symbolic map is to code simplest the bodily map using the and SYSPARM alternative, CICS will automatically create a member in a COPY library. And the 0.33 way is to apply a map generator inclusive of SDF ( Screen Definition Facility ).

Question eighty two. What Is Quasi-reentrancy?

Answer :

There are instances when many users are concurrently using the same software, that is what we name MultiThreading, For instance, 50 users are using software A, CICS will offer 50 Working storage for that software but one Procedure Division. And this method is referred to as quasi-reentrancy.

Question 83. What Is The Difference Between A Physical Bms Mapset And A Logical Bms Mapset?

Answer :

The physical mapset is a load module used to map the facts to the display screen at execution time. The symbolic map is the actual copybook member used within the application to reference the enter and output fields on the screen.

Question 84. What Cics Facilities Can You Use To Save Data Between The Transactions?

Answer :

COMMONAREA, TSQ and TDQ.

Question 85. How Would You Release Control Of The Record In A Read For Update?

Answer :

By issuing a REWRITE, DELETE, or UNLOCK command or via finishing the assignment.

Question 86. What Is The Difference Between A Return With Transid And Xctl? For Example Program. A Is Issuing Return With Transid To Program B. Program A. Is Isssuing Xctl To Program B?

Answer :

In RETURN with TRANSID the control is going to the CICS area and the user should switch the manipulate to program B via urgent any of the AID KEYS. In XCTL the manipulate is immediately switch to software B.

Question 87. What Will Be The Length Of The Eibcalen, If The Transaction Is Used To Cics First Time?

Answer :

The period may be zero (0).

Question 88. What Is Dfheiblk?

Answer :

DFHEIBLK is Execute Interface Block. It is positioned inside the linkage phase robotically by using CICS translator program.
It need to be the primary access in linkage segment. CICS places values previous to giving manage to this system and we will locate nearly any facts about our transaction.

Question 89. What Is The Difference Between The Xctl And Link Commands?

Answer :

The LINK command anticipates go back of control to the calling application, the XCTL command does no longer. RETURN to the calling program might be the result of the CICS RETURN command, specifying TRANSID (name of the calling program)

Question 90. What Cics Command Would You Use To Read A Vsam Ksds Sequentially In Ascending Order?

Answer :

First issue a STARTBR (start browse), so one can function the browse at the desired record. Retrieve statistics via the use of subsequent READNEXT instructions. Indicate the give up of sequential processing with the ENDBR command. If the standard key's distinct within the STARTBR command role in the record will be before the first report pleasurable the commonplace key. For analyzing in descending order use the READPREV rather than READNEXT.

Question 91. What Is The Difference Between Pseudo-conversational And Conversational?

Answer :

pseudo-conversational will start a brand new mission for each input. By coding a CICS RETURN command specifying TRANSID9ITSELF). Conversational will have an lively mission in the course of the period of the facts access.

Question 92. What Is The Comaera (verbal exchange Area)?

Answer :

An region used to switch information among special programs or between subsequent executions of the equal program. Needs to be described inside the LINKAGE Section.

Question ninety three. What Is The Common Work Area (cwa)?

Answer :

The commonplace paintings vicinity is a storage place that may be accessed via any assignment in a CICS system.

Question 94. What Is A Transid And Explain The System Transid Cemt?

Answer :

Transid is a transaction identifier, a four character code used to invoke a CICS project. CEMT is the grasp terminal transaction that helps you to show and exchange the status of sources - it's miles the number one CICS provider transaction.

Question 95. What Is An Mdt (modified Data Tag)? Its Menaing And Use?

Answer :

The modified facts tag is the remaining bit in the characteristic byte for each display subject. It indicates whether or not the corresponding subject has been changed.

Question 96. What Is The Eib (execute Interface Block)?

Answer :

The execute interface block we could the program talk with the execute interface application, which approaches CICS instructions. It incorporates terminal id, time of day and reaction codes.

Question ninety seven. What Is The Common Systems Area (csa)?

Answer :

The not unusual structures vicinity is the foremost CICS manage block that carries gadget information, together with suggestions to most other CICS control blocks. The CSA factors to all members of STATIC storage.

Question ninety eight. What Is Meant By Program Reentrance?

Answer :

A program is considered reentrant if more than one task can execute the code without interfering with the alternative duties' execution.

Question 99. What Is Meant By A Cics Task?

Answer :

A CICS undertaking exist from the time the operator presses the enter key until the software application returns manage to CICS.

Question a hundred. Name Some Common Cics Service Programs And Explain Their Usage?

Answer :

Terminal Control, File Control, Task Control, Storage Control, and so on, Each CICS carrier program controls the usage and standing for its resource (report, terminal, etc) within the CICS region.

Question 101. Name Some Of The Common Tables In Cics And Their Usage?

Answer :

PCT Program Control Table - defines each transaction containing a list of legitimate transaction identifiers (transid) where each transaction is paired with its matching program;

PPT Program Processing Table - consists of a list of valid program names and maps and whether a cutting-edge version is within the CICS area or wishes to be added in as a brand new reproduction;

FCT File Control Table - contains a list of documents known to CICS, the dataset name and standing (closed/open, permit/disabled;)

TCT Terminal Control Table - a listing of the terminals acknowledged to CICS.

Question 102. What Is The Difference Between Link Xctl?

Answer :

Link is transient transfer of control. Xctl is everlasting switch of manipulate.

Question 103. What Is Multitasking And Multithreading?

Answer :

multitasking is the function supported via the working gadget to execute a couple of challenge simultaneously. Multithreading is the device surroundings wherein the duties are sharing the identical programs load module under the multitasking surroundings. It is a subset of multitasking since it issues task which use the same software.

Question 104. What Are Different System Tables Used In Cics?

Answer :

PCT, FCT, TCT, DCT, PPT

Question 105. Explain The Term Mro (multi Region Operation)?

Answer :

MRO is the mechanism with the aid of which different CICS deal with areas with inside the same CPU can comunication and percentage assets.

Question 106. Explain The Term Function Request Shipping?

Answer :

Function request delivery is one of the CICS modes of intercommunication which permits an software application in a neighborhood CICS to get right of entry to resources owned by using a far flung CICS.

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

Answer :

By issuing an EXEC CICS ENQ against the useful resource. When processing is finished, a DEQ ought to be done.

Question 108. When An Apllication Is Invoked Via The Exec Cics Start Command With The From Option, How Does The Application Gain Access To The Common Area?

Answer :

An EXEC CICS RETRIEVE command will get admission to the not unusual place.

Question 109. The Dfhcommara Is Used To Pass Information From One Application To Another. What Are Some Other Ways That This Function Can Be Accomplished?

Answer :

You also can pass information in the following methods.
-By the usage of a transient garage queue.
-By the usage of an intrapartion TDQ
-By the usage of the Task Work Area
-By using TCTUA
-Through a record.

Question a hundred and ten. How Do You Define Task Work Area?

Answer :

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

Question 111. What Information Do You Get When An Exec Cics Startcode Is Issued?

Answer :

You can be able to determine if the utility turned into started out by
(1) a temporary statistics trigger level (QD),
(2) a START command (S,SD),
(3) user (U) or terminal input (TD), or
(4) Distributed Program Link (D, DS).

Question 112. Which Cics Command Must Be Issued By The Application Program In Order To Gain Access To The Common Work Area (cwa)?

Answer :

EXEC CICS ADDRESS with CWA alternative.

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

Answer :

In the Program Control Table (PCT).

Question 114. What Is A Deadlock?

Answer :

Deadlock (also called a "lethal include") happens while a assignment is looking forward to a resource held via every other venture which, in flip, is waiting for a resources held through the first assignment.

Question a hundred and fifteen. What Is Enq In Cics?

Answer :

If someone need to limit Trans-ID to single person, input trans-id with ENQ. It won't permit any person else to use the identical trans-id.

Question 116. Explain The Term Transaction Routing?

Answer :

Transaction routing is a CICS mode of intercommunication which permits a terminal connected to neighborhood CICS to execute any other transaction owned via a far flung CICS.

Question 117. How Can You Prevent More Than One User From Accessing The Same Transient Data Queue?

Answer :

By issuing an EXEC CICS ENQ in opposition to the resource. When processing is finished, a DEQ must be accomplished.

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

Answer :

When working in a pseudo-conversational mode, EIBCALEN can be checked if it's miles identical to zero. A programmer can use this circumstance as a manner of determining first time utilization (of the program).

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

Answer :

The Transient Data Program (TDP).

Question 120. What Is The Function Of Dfhmdf Bms Macro?

Answer :

The DFHMDF macro defines fields, literal, and traits of a subject.

Question 121. Explain The Basic Difference Between Intra Partition Tdq And Extra Partition Tdq?

Answer :

INTRA PARTITION TD QUEUEs. It is a goup of sequential facts that are produced by way of the identical and / or special transaction within a CICS location. These Qs are stored in handiest one physical file (VSAM) in a CICS region, which is prepared by way of the gadget programmer. Once a report is study from a queuue, the document can be logically removed from the queue; that is the file cannot be study once more EXTRA PARTITION TD QUEUEs It is a set of sequential document which interface among the transaction s of the CICS vicinity and the structures outdoor of CICS vicinity. Each of there TDQs is a separate bodily record, and it could be on the disk, tap, printer or plotter.

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

Answer :

The ASKTIME command is used to request the current date and time. Whereas, the EIBTIME discipline have the value on the assignment initiation time.

Question 123. Explain Floating Maps With Illustration?

Answer :

Maps that may positioon themselves relative to the previous maps on the screen or web page are called the floating maps. For this you need to use special positional operands to LINE and COLUMN parameters of the BMS macro definition. They are SAME, NEXT. Actually this floating map idea is there handiest in Full BMS where because it isn't available in Min. Or Standard BMS macros. RECEIVE MAP is not endorsed within the case of floating maps. Hence those maps are usually used to ship facts consisting of selected information from a database to display but not for statistics entry. A mapset can include more than one map in it, you could use these types of maps to construct a screen. In that case there are two methods to ship these maps on to the display screen.

I) Use separate SEND MAP instructions one for every map concerned. Or
ii) Use ACCUM operand at the side of SEND MAP command and even as sending surely directly to the screen use SEND PAGE to display them at one shot. The second one is called cumulative mapping scheme in which you also can use foating maps.

Let's take a situation wherein you have to build a display screen like this

HEADER MAP (no. Of A gr. Employs)
DETAIL MAP ( employee list)
TRAILER MAP

Question 124. What Does It Mean When Eibcalen Is Equal To Zeros?

Answer :

When the period of the verbal exchange vicinity (EIBCALEN) is same to zeros, it way that no information turned into exceeded to the utility.

Question a hundred twenty five. What Is The Difference Between The Into And The Set Option In The Exec Cics Receive Map Command?

Answer :

The INTO alternative movements the records inside the TIOA into the reserved unique location, whilst the SET choice simple returns the cope with of the TIOA to the desired BLL cellular or "address-of" a linkage-section.

Question 126. What Is The Difference Between Using The Read Command With Into Option And Set Option?

Answer :

When we use INTO choice with the READ command the facts content of the record will be moved into the specified area described within the Working Storage Section of this system. When we use SET alternative with the READ command, CICS units the deal with pointer to the address of the record within the file enter / output place within CICS,so that the utility application can immediately discuss with the report without transferring the report content into the Working Storage place defined in the application. Therefore, the SET choice provides a higher overall performance than the INTO alternative.

Question 127. What Is Mdt?

Answer :

MDT ( Modified Data Tag ) is one little bit of the attribute character, If it is off (0), it indicates that this area has now not been changed by using the terminal operator. If it's miles on (1), It shows that area has been modified via the operator. Only whilst MDT is on, will the facts of the field be sent by using the terminal hardware to the host computer (i.E. To the applcation progam in end). An effective use of MDT appreciably reduces the quantity of information site visitors in the conversation line, thereby improving performance substantially. Therefore, BMS maps and CICS utility program should be devloped based totally on cautious concerns for MDT.

Question 128. Name Three Ways The Modified Data Tag Can Be Set On?

Answer :

The Modified Data Tag may be set on:
1. When the user enters information into the field.
2. When the software software moves DFHBMFSE to the attribute character.
3. By defining it in the BMS macro definition.

Question 129. Can We Define An Alternate Index On Vsam/rrds?

Answer :

No

Question one hundred thirty. How To Establish Dynamic Cursor Position On A Map? How To Get The Cursor Position When We Receive A Map?

Answer :

We dynamically role a cursor thru an application program the usage of a symbolic call of the symbolic map with the aid of setting -1 into the sphere length (i.E., fieldname + L) of the sector in which you want to location the cursor. The SEND MAP command to be issued have to have the CURSOR alternative (without price). Also, the mapset ought to be coded with MODE = INOUT in the DFHMSD macro. We get the cursor function while we receive a map by checking EIBCPOSN, which is a halfword ( S9(4) COMP) binary field in EIB, and contains offset role (fantastically to zero) of the cursor on the screen.

Question 131. What Are The Three Ways Available For A Program To Position The Cursor On The Screen?

Answer :

 Static positioning. Code the insert cursor (IC) in the DFHMDF BMS macro.
. Relative positioning. Code the CURSOR choice with a cost relative to zero (function 1.1 is 0).
 Symbolic positioning. Move high values or -1 the sector length within the symbolic map (and code CURSOR on SEND command ).
 

Question 132. What Is A Mapset?

Answer :

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

Question 133. Why Is A Term Id Recommended In Naming A Tsq?

Answer :

In order to avoid confusion and to keep records security, a strict naming convention for QID will be required inside the installation. Moreover, for a terminal-structured venture (e.G. Pseudo-communique challenge), the terminal identification ought to be protected in QID so one can make certain the individuality of TSQ to the assignment.

Question 134. What Are The Differences Between Temporary Storage Queue (tsq) And Transient Data Quene (tdq)?

Answer :

Temporary Storage Queue names are dynamically defined inside the utility application, at the same time as TDQs should first be described in the DCT (Destination Control Table). When a TDQ carries certain amount of information (Trigger degree), A CICS transaction may be commenced automatically. This does not show up while the use of a TSQ. TDQ (extra partition) can be used by batch utility; TSQ cannot be accessed in batch. The Transient Data Queue is without a doubt a QSAM document. You may additionally replace an current item in a TSQ. A report in a TDQ can't be updated. Records in TSQ may be read randomly. The TDQ may be study simplest sequentially. Records inTemporary Storage may be examine more than once, at the same time as recordes stored in Temporary Data Queues cannot. With TDQs it's miles "one read" most effective.

Question one hundred thirty five. What Does The Following Transactions Do?

Answer :

CEDF:CICS-provided Execution Diagnostic Facility transaction. It offers interactive program execution and debugging features of a CICS programs.

CEMT: CICS-supplied Extended Master Terminal transaction. It presentations or manipulates CICS manipulate surroundings interactively.

CEBR: CICS-supplied Temporary Storage Browse transaction. It presentations 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.

Question 136. What Is The Function Of The Terminal Control Table?

Answer :

To register all CICS terminals

Question 137. Which Cics Service Transaction Is Used To Gain Accessibility To Cics Control Tables? Mention The One That Has The Highest Priority.?

Answer :

CEDA

Question 138. Into Which Table Is The Terminal Id Registered?

Answer :

TCT.

Question 139. Which Transient Data Queue Support Ati?

Answer :

INTRA-PARTITION Data queue.

Question one hundred forty. Explain The Means Of Supporting Pseudo Conversation Programming. (eg. Storing And Restoring Of States, Control Flow, Error Handling)?

Answer :

When we send a map the use of SEND MAP command, Immediately we launch this system by using EXEC CICS RETURN command. In this command we point out the TRANSACTION ID that is to be achieved after receiving the map. In this command we also specify the facts that have to be stored in COMMUNICATION AREA for later use. When this command is performed the corresponding program is released from the memory. After receiving the response from the terminal the program is once more loaded and this time the data which we saved in conversation region could be copied into the operating storage phase. And the map can be acquired with RECEIVE MAP command. The variable EIBCALEN in EIB holds the duration of conversation location. In procedure division we tests the fee of EIBCALEN if it's miles 0, we first ship the map accompanied via RETURN command. Otherwise, this is if EIBCALEN is not zero, we recognize that this transaction is not walking first time and we receive the map by using RECEIVE MAP command.

Question 141. How Can You Start A Cics Transaction Other Than By Keying The Transaction Id At The Terminal?

Answer :

By coding an EXEC CICS START inside the software application
1. By coding the trans identification and a trigger stage on the DCT desk
2. By coding the trans identity within the EXEC CICS RETURN command
three. By associating an attention key with the Program Control Table
four. By embedding the TRANSID inside the first 4 positions of a display screen to the terminal.
Five. By using the Program List Table.

Question 142. What Are The Differences Between And Exec Cics Xctl And Exec Cics Start Command?

Answer :

The XCTL command transfer control to any other software (having the identical Transaction ID), while the START command initiates a brand new transaction ID (consequently a new venture range). The XCTL maintains assignment at the equal terminal. START can provoke a challenge on some other terminal.

Question 143. What Happens To Resources Supplied To A Transaction When An Xctl Command Is Executed?

Answer :

With an XCTL, the working storage and the system department of this system issuing the XCTL are launched. The I/O regions, the GETMAIN areas, and the chained Linkage Section areas (Commarea from a better stage) stay. All current locks and queues additionally stay in effect. With a LINK, however, application garage is likewise saved, for the reason that transaction expects to go back and use it again.

Question 144. What Is A Resident Program?

Answer :

A software pr map loaded into the CICS nucleus so this is saved completely in important garage and no longer deleted whilst CICS goes " Short on Storage."

Question a hundred forty five. What Is Some Of The Information Available In The Eib Area?

Answer :

I. The cursor function inside the map
II. Transaction ID
III. Terminal ID
IV. Task Number
V. Length of communication area
VI. Current date and time
VII. Attention identifier

Question 146. What Is The Effect Of Including The Transid In The Exec Cics Return Command?

Answer :

The subsequent time the cease person presses an attention key, CICS will start the transaction precise inside the TRANSID alternative.

Question 147. What Is The Function Of The Exec Cics Handle Condition Command?

Answer :

To specify the paragrph or application label to which manipulate is to be surpassed if the "take care of conditin" happens.

Question 148. What Is The Difference Between Exec Cics Handle Condtion And An Exec Cics Ignore Command?

Answer :

HANDLE CONDTION command creates a "go-to" surroundings. An IGNORE command does no longer create a move-to surroundings: as an alternative. It offers control returned to the subsequent sequential preparation following the command inflicting the circumstance. They are opposites.

Question 149. When A Task Suspends All The Handle Conditions Via The Push Command, How Does The Task Reactivate All The Handle Conditions?

Answer :

By coding an EXEC CICS POP HANDLE command

Question 150. What Are The Cics Commands Available For Program Control?

Answer :

The following instructions are to be had for the Program Control services:
1. LINK: To skip control to every other software on the lower level, expectiong to be lower back.
2. XCTL: To pass manage to another program on the identical stage, not looking forward to to be again.
3. RETURN: To go back to the subsequent higher-stage program or CICS.
Four. LOAD: to load a software
five. RELEASE: To release a software.

Question 151. Explain The Various Ways Data Can Be Passed Between Cics Programs?

Answer :

Data may be exceeded among CICS packages in 3 ways- COMMAREA, TRANSIENT DATA QUEUE $ TEMPORARY STORAGE QUEUE.

Data can be surpassed to a called software the usage of the COMMAREA alternative of the LINK or XCTL command in a calling program. The known as application may alter the statistics content material of COMMAREA and the modifications may be to be had to the calling software after the RETURN command is issued in the referred to as application. This implies that the known as application does not should specify the COMMAREA option in the RETURN command.

If the COMMAREA is used in the calling software, the place should be described inside the Working Storage Section of the program (calling), whereas, in the called software, the location need to be described as the first area within the Linkage Section . Using reserved name DFHCOMMAREA.

Question 152. What Is The Exec Cics Handle Abend?

Answer :

It allows the establishing of an go out so cleanup processing may be finished inside the occasion of peculiar task termination.

Question 153. What Happens When A Cics Command Contains The Nohandle Option?

Answer :

No motion goes to be taken for any excellent conditional happening in the course of the execution of this command. The bizarre condition that came about can be not noted despite the fact that an EXEC CICS HANDLE condition exist. It has the same impact because the EXEC CICS IGNORE situation except that it'll no longer cancel the preceding HANDLE CONDTION for another command.

Question 154. What Are The Differences Between And Exec Cics Xctl And An Exec Cics Link Command?

Answer :

The XCTL command transfer manipulate to an application application on the identical logical stage ( do no longer count on to govern again), whilst the lINK command passes control to an application software at the next logical degree and expects controal back.

Question a hundred and fifty five. What Cics Command Do You Need To Obtain The User Logon-identification?

Answer :

You ought to code EXEC CICS ASSIGN with the OPENID option.

Question 156. What Is Eib, How Is Can Be Used?

Answer :

CICS automatically affords some system-related statistics to every project in a shape of EXEC interface BLOCK (EIB), that is unique to the CICS command degree. We can use all the fields of EIB in our utility programs proper away.

Question 157. What Information Can Be Obtained From The Eibrcode?

Answer :

The EIBRCODE tells the application software if the final CICS command became completed successfully and, if not, why no longer.

Question 158. Explain How To Handle Exceptional Conditions In Cics?

Answer :

An peculiar scenario during execution of a CICS command is referred to as an exceptional circumstance:
1. Handle Condition Command: It is used to transfer manipulate to the method label unique if the terrific condition specific happens.
2. Ignore Condition Command: It causes no action to be taken if the condition distinctive happens inside the software. That is manage may be back to the next education following the command which encountered the amazing situation.
Three. No Handle Option: This option can be specified in any CICS command and it'll cause no action to be taken for any great situation taking place for the duration of execution of this command.
4. RESP Option: This alternative can be specified in any CICS command. If the RESP choice is laid out in a command, CICS places a reaction code at a of completion of the command. The application application can test this code, then continue to the following processing.

Question 159. How Many Conditions Can You Include In A Single Handle Condition Command?

Answer :

No more than sixteen in a unmarried manage condition. If you want greater, then you should code any other HANDLE CONDITION command.

Question a hundred and sixty. What Is The Commarea (communications Area)?

Answer :

This is the vicinity of primary garage designed to allow packages or mission communicate with each other. Used in programs via RETURN, XCTL and LINK instructions.

Question 161. What Option Is Specified In The Send Command To Send Only The Unnamed Fields On To The Screen?

Answer :

MAPONLY

Question 162. What Is The Most Common Way Of Building Queue-id Of A Tsq?

Answer :

(Name the ingredients of the Queue ID).
TERMID+TRANSACTION-ID.

Question 163. How And Where Is The Twa Size Set?

Answer :

TWASIZE=300 in PCT desk.

Question 164. What Does Pseudo Conversational Mean?

Answer :

The programming method wherein the mission will not watch for the give up-person replies at the terminal. Terminating the project on every occasion the software desires a response from the person and specifying the subsequent transaction to be started whilst the c




CFG