CICS QUESTIONNAIRE
Q.1 What happens to resources supplied to a transaction when an XCTL command is executed?
A With an XCTL, the working storage and procedure division of the program issuing XCTL are released. The I/O areas, the GETMAIN areas and the chained Linkage Section areas (Commarea from a higher level) remain. All existing locks and queues also remain in effect. With a LINK, however program storage is also saved, since the transaction expects to return and use it again.
-------------------------------------------------------------------------------------------------
Q.2 What CICS command do you need to obtain the user logon-id?
A You must code EXEC CICS ASSIGN with OPERID option.
-------------------------------------------------------------------------------------------------
Q.3 What is a resident program?
A A program or map loaded into the CICS nucleus so that it is kept permanently in main storage and not deleted when CICS goes "short on storage."
-------------------------------------------------------------------------------------------------
Q.4 What is some of the information available in the EIB area?
A The cursor position in the map are :
• Transaction id
• Terminal id
• Task number
• Length of the communication area
• Current date and time
• Attention identifier
-------------------------------------------------------------------------------------------------
Q.5 What information can be obtained from the EIBRCODE?
A The EIBRCODE tells the application program if the last CICS command was executed successfully and if not, why not.
-------------------------------------------------------------------------------------------------
Q.6 What is the effect of including the TRANSID in the EXEC CICS RETURN command?
A Next time the end user presses an attention key, CICS will start the transaction specified in the TRANSID option.
-------------------------------------------------------------------------------------------------
Q.7 What is the function of the EXEC CICS HANDLE CONDITION command?
A To specify the paragraph or program label to which control is to be passed if the "handled condition" occurs.
-------------------------------------------------------------------------------------------------
Q.8 How many conditions can you include in a single HANDLE CONDITION command?
A No more than 16 in a single handle condition. If you need more, then you must code another HANDLE CONDITION command.
-------------------------------------------------------------------------------------------------
Q.9 What is the EXEC CICS HANDLE ABEND?
A It allows the establishing of an exit so cleanup processing can be done in the event of abnormal task termination.
-------------------------------------------------------------------------------------------------
Q.10 What is the difference between an EXEC CICS HANDLE CONDITION and an EXEC CICS IGNORE command?
A A HANDLE CONDITION command creates a "go-to” environment. An IGNORE command does not create a go-to environment; instead it gives control back to the next sequential instruction following the command causing condition. They are opposites.
-------------------------------------------------------------------------------------------------
Q.11 What happens when a CICS command contains the NOHANDLE option?
A No action is going to be taken for any exceptional condition occurring during the execution of this command. The abnormal condition that occurred will be ignored even if an EXEC CICS HANDLE condition exists. It has the same effect as EXEC CICS IGNORE condition except that it will not cancel the previous HANDLE CONDITION for any other command.
-------------------------------------------------------------------------------------------------
Q.12 What happens when a CICS command contains the RESP option?
A. No action is going to be taken for any exceptional condition occurring during the execution of this command. When an abnormal condition occurs, the CICS response code is a field in the program work area and can be checked later (usually at the next sequential instruction).
-------------------------------------------------------------------------------------------------
Q.13 Suppose that an application program uses the HANDLE AID ENTER (main-logic) and the HANDLE CONDITION ERROR(abort-rtn) command. If the program issued a RECEIVE MAP and a MAPFAIL condition occurred, which process will take control : main-logic or abort-rtn?
A Main-logic will receive control because Handle Aid has priority over Handle Condition.
-------------------------------------------------------------------------------------------------
Q.14 When the task suspends all handle conditions via. the PUSH command, how does the task re-activate all the handle conditions?
A By coding an EXEC CICS POP HANDLE command.
-------------------------------------------------------------------------------------------------
Q.15 What is the difference between the INTO and the SET option in EXEC CICS RECEIVE MAP commands?
A The INTO option moves information in the TIOA into the reserved specified area, while the SET option simply returns the address of TIOA to the specified BLL cell or "address-of" a linkage section.
-------------------------------------------------------------------------------------------------
Q.16 Define the function of Basic Mapping System (BMS).
A BMS allows the application to be device-independent. It translates the formatted data stream, thus enabling the application to reference data by symbolic labels.
-------------------------------------------------------------------------------------------------
Q.17 Suppose you have a field in a map named ACCTID and you want it bright. Explain how can you do this during the execution of application?
A By moving either DHFBMBRY to the ACCTIDA field in symbolic map (bright only) or DFHBMASB to the ACCTIDA field in the symbolic map (askip bright).
-------------------------------------------------------------------------------------------------
Q.18 What are the three ways available for a program to position the cursor on the screen ?
A 1. Static positioning. Code the insert cursor (IC) in the DHFMDF BMS macro.
2. Relative positioning. Code the CURSOR option with a value relative to zero (position 1,1 is zero).
3. Symbolic positioning. Move high values or -1 to the field length in the symbolic map (and code CURSOR on the SEND command).
-------------------------------------------------------------------------------------------------
Q.19 What is the Modified Data Tag (MDT)?
A The MDT is a 1-bit attribute character of a BMS field. When it is set on, CICS will transmit the data contained in the associated map field.
-------------------------------------------------------------------------------------------------
Q.20 Name three ways the Modified Data Tag can be set on?
A: The Modified Data Tag can be set on :
1. When the user enters data into the field
2. When the application program moves the DFHBMSFSE to the attribute character
3. By defining it in the BMS macro definition
-------------------------------------------------------------------------------------------------
Q.21 How do you specify in your program which fields are not to be sent to a map (terminal)?
A By filling the fields with low values.
-------------------------------------------------------------------------------------------------
Q.22 What happens if neither MAPONLY nor DATAONLY are specified?
A The data from the physical map and the data from the symbolic map are merged, causing an increase in the data transmission.
-------------------------------------------------------------------------------------------------
Q.23 What is a mapset?
A A mapset is a collection of BMS maps link-edited together.
-------------------------------------------------------------------------------------------------
Q.24 What is the function of the DFHMDF BMS macro?
A The DFHMBF macro defines fields, literal and characteristics of a field.
-------------------------------------------------------------------------------------------------
Q.25 The DFHMDF is a subset (a subdivision) of which BMS macro?
A DFHMDF is a BMS macro that is a part of the DHFMDI macro.
------------------------------------------------------------------------------------------------- Q.26 What is the function of Terminal Control Table (TCT)?
A The TCT defines the characteristics of each terminal with which CICS can communicate.
-------------------------------------------------------------------------------------------------
Q.27 When an application program issues an EXEC CICS RECEIVE MAP command and there is no data sent back to the application program, what exceptional condition will occur?
A A MAPFAIL condition will occur.
-------------------------------------------------------------------------------------------------
Q.28 What does it mean when EIBCALEN is equal to zeros?
A When the length of communication area (EIBCALEN) is equal to zeros, it means that no data was passed to the application.
_________________________________________________________________________________________________
Q.29 Which CICS system program is responsible for handling automatic task initialization?
A: The Transient Data Program(TDP).
_________________________________________________________________________________________________
Q.30 What are the differences between a Temporary Storage Queue (TSQ) and Transient Data Queue (TDQ)?
A The differences between a Temporary Storage Queue (TSQ) and Transient Data Queue (TDQ) are :
• Temporary Storage Queue name are dynamically defined in the application program, while Temporary Data Queues must first be defined in the DCT (Destination Control Table).
• When a TDQ contains a certain amount of records (trigger level), a CICS transaction can be started automatically. This does not happen when using a TSQ.
• TDQ (extrapartition) may be used by batch by batch application; TSQ cannot be accessed in-batch. The Transient 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 in Temporary Storage can be read more than once, while records stored in Temporary Data Queues cannot. With TDQs it is “one read” only.
_________________________________________________________________________________________________
Q.31 What will happen if a task issues an EXEC CICS DELETEQ TD against an Extrapartition Transient Data Queue?
A An invalid request exceptional condition will occur. The default action is that the task will be terminated.
_________________________________________________________________________________________________
Q.32 In an in-line environment, how can you prevent more than one user from accessing the same Transient Data Queue at the same time?
A By issuing an EXEC CICS ENQ against the resource. When processing is completed a DEQ should be executed.
_________________________________________________________________________________________________
Q.33 Is there any way of releasing a resource previously enqueued by a task other than by issuing an EXEC CICS DEQ command?
A: You can issue a SYNCPOINT command. You can also RETURN control to CICS, as CICS automatically release a resource when a task is terminated.
_________________________________________________________________________________________________
Q.34 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?
A An EXEC CICS RETRIEVE command will access the common area.
_________________________________________________________________________________________________
Q.35 What happens when an EXEC CICS SYNCPOINT is issued?
A The Logical Unit of Work (LUW) is terminated. Everything on the Deferred Work Element (DWE) chain is cleaned up. If Dynamic Transaction Backout (DTB) is on, everything is committed. GETMAIN areas are freed. File locks are released. I/O areas and linkage sections are released. Browses are terminated. Working storage is not affected.
_________________________________________________________________________________________________
Q.36 What is a Logical Unit of Work?
A: A Logical Unit of Work is all the processing that takes place between two "sync points."
_________________________________________________________________________________________________
Q.37 The DFHCOMMAREA is used to pass information from one application to another. What are some other ways that this function can be accomplished?
A 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
_________________________________________________________________________________________________
Q.38 How do you define a Task Work Area?
A. By defining it in on the PCT (the Program Control Table).
_________________________________________________________________________________________________
Q.39 What is stored in the Temporary Storage Table?
A The TST contains the names of Temporary Storage Queues that are to be recovered in the event of an abend.
_________________________________________________________________________________________________
Q.40 What information do you get when an EXEC ASSIGN STARTCODE is issued?
A: You will be able to determine if the application was started by :
• a transient data trigger level (QD)
• a START command (S,SD)
• user (U) or terminal input (TD)
• Distributed Program Link (D, DS)
_________________________________________________________________________________________________
Q.41 Which CICS command must be issued by the application in order to gain access to the Common Work Area (CWA)?
A EXEC CICS ADDRESS with CWA option.
_________________________________________________________________________________________________
Q.42 In which CICS table would you specify the length of TASK WORK AREA (TWA)?
A In the Program Control Table (PCT).
_________________________________________________________________________________________________
Q.43 Explain the function performed by the Program Control Table (PCT)?
A The PCT defines relationship between a transaction and an application program.
_________________________________________________________________________________________________
Q.44 When a data table is loaded into memory using the EXEC LOAD command, how does the application program free that memory when the table is no longer needed?
A By coding an EXEC CICS RELEASE command with the program option.
_________________________________________________________________________________________________
Q.45 What is the function of HOLD option in the EXEC CICS LOAD command?
A When a program is loaded from the CICS DFHRPL concatenation library (into main storage), the HOLD option will result in the program remaining in memory after the task terminates. When this option is not specified, main storage is automatically released by CICS.
_________________________________________________________________________________________________
Q.46 Explain the function of the File Control Program (FCP)?
A. The FCP provides the application program with the ability to read, browse, add, delete, and update records in a file defined in the FCT.
_________________________________________________________________________________________________ Q.47 What is the function of File Control Table?
A It defines the file and contains characteristics of the dataset.
_________________________________________________________________________________________________
Q.48 If an application has a VSAM/KSDS file READ command with the update option and it finds that the update is no longer required, how does the application release the exclusive control of the record read?
A By executing an EXEC CICS UNLOCK command with the File or Dataset option. A SYNCPOINT will also release the exclusive control.
_________________________________________________________________________________________________
Q.49 What is a deadlock?
A 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 resource held by the first task.
_________________________________________________________________________________________________ Q.50 Which CICS program is responsible for the management of DSA (the Dynamic Storage Area)?
A The storage Control Program (SCP).
_________________________________________________________________________________________________ Q.51 What happens when an application issues an EXEC CICS GETMAIN command to obtain main storage and SHARED option is specified?
A: There is no automatic release of the obtained storage at the end of task which requested it.
_________________________________________________________________________________________________ Q.52 How can an application release main storage acquired by an EXEC CICS GETMAIN command?
A By coding an EXEC CICS FREEMAIN command with the data. SYNCPOINT will also release the storage area.
_________________________________________________________________________________________________
Q.53 What is the function of the REQID in the EXEC CICS STARTBR command?
A When you have multiple browse operations at the same time on the same file, the REQID must be coded on the READ Next/Prev command to distinguish one browse from the other.
_________________________________________________________________________________________________ Q.54 Which CICS command must the application program issue to terminate a browse?
A An EXEC CICS ENDR command. SYNCPOINT also ends the browse.
_________________________________________________________________________________________________ Q.55 What is the function of the EXEC CICS RESETBR Command?
A To reposition the browse (with VSAM files this can be done just by altering the RIDFLD) and to change the characteristics specified on the STARTBR command without ending the browse.
_________________________________________________________________________________________________ Q.56 When debugging a CICS application, why would you use the CEBR command?
A To view the contents of the TSQ or TDQ.
_________________________________________________________________________________________________ Q.57 Mention some of the most common operations you can perform with the CEMT CICS transaction?
A Create a new copy of an application program CEMT S PR(prgname) NEW
Close a file from CICS CEMT S DA(filename) CLO UNE
Disable a transaction CEMT S TRANS(transid) Dis
_________________________________________________________________________________________________ Q.58 What is the function of the CEDA transaction?
A It is used to perform the Resource Definition on-line operation (RDO). It adds, deletes, and changes table entries.
_________________________________________________________________________________________________ Q.59 What CICS command does the application have to issue to update an existing record in a VSAM/KSDS file?
A The EXEC CICS REWRITE command.
_________________________________________________________________________________________________ Q.60 What CICS command does the application have to issue to update an existing record in a TS queue?
A The EXEC CICS WRITE command with the rewrite option and the item number.
_________________________________________________________________________________________________ Q.61 What is the purpose of CICS BIF DEEDIT?
A. To remove all characters other than digits from an alphanumeric field. Remaining digits will be right-justified and padded with zeros as necessary.
_________________________________________________________________________________________________ Q.62 What is the Base Locator for Linkage (BLL) used for?
A The BLL is used to address storage outside the working-storage section of the application program. A set of BLL cells is also known as the parameter list. It is not used (explicitly) in COBOI II, although the BLL cells can be found in the TGT of a COBOL II program.
_________________________________________________________________________________________________ Q.63 Explain the term "transaction routing".
A 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.
_________________________________________________________________________________________________
Q.64 Explain the term "function request shipping".
A 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.
_________________________________________________________________________________________________ Q.65 Explain the term "MRO" (Multi-Region Operation)?
A: MRO is the mechanism by which different CICS address spaces within the same CPU can communicate and share resources.
_________________________________________________________________________________________________ Q.66 If, when executing a "READ INTO" command, the length of actual (variable) length record exceeds the length specified in LENGTH option, what will happen (if anything)?
A You will get a LENGERR.
_________________________________________________________________________________________________ Q.67 When a second READ WITH UPDATE is given against the same file in the stripe task prior to releasing the file, what will happen?
A An INVREQ will take place.
_________________________________________________________________________________________________
Q.68 How could you prevent such an error?
A After the first read and prior to the second read you could :
stright Execute a REWRITE
• Execute a SYNCPOINT
_________________________________________________________________________________________________
Q.69 Name one condition that would result in the inability to execute a backward browse?
A If you issue a STARTBR with a generic key, a backward browse will not work.
_________________________________________________________________________________________________
Q.70 Name one condition that would result in the inability to execute a backward browse?
A If you issue a STARTBR with a generic key, a backward browse will not work.
_________________________________________________________________________________________________ Q.71 You have duplicate keys and you have loaded an alternate index into RIDFLD. What would happen if you issued a READNEXT after switching from a direct retrieval read?
A You would get the same record twice.
_________________________________________________________________________________________________ Q.72 You are doing a mass delete using a generic key. What could you do to determine the number of records that have been deleted?
A You would use the NUMREC (data area) option with the generic key. Upon completion of the mass delete, the data area would contain a count of the number of records that were deleted.
_________________________________________________________________________________________________
Q.73 How should the data area used with the NUMREC option be defined?
A S9(4) COMP.
_________________________________________________________________________________________________ Q.74 Which command will terminate a VSAM mass insert operation?
A An UNLOCK command.
_________________________________________________________________________________________________
Q.75 Which command(s) will deblock DAM files?
A DEBKEY will deblock by key. DEBREC will deblock by relative record number.
_________________________________________________________________________________________________ Q.76 What could cause you to get an INVREQ when building a logical message to a screen?
A You have changed the disposition specified while building a logical message.
_________________________________________________________________________________________________ Q.77 What could cause you to get a MAPFAIL when issuing a RECEIVE MAP command?
A You would get a MAPFAIL if no data was transferred from the screen.
_________________________________________________________________________________________________ Q.78 What command would you issue if you wanted to discontinue building a logical message?
A You would issue a PURGE MESSAGE command.
_________________________________________________________________________________________________ Q.79 Can you intermix a SEND TEXT and a SEND MAP when building portions of a logical message?
A No, you cannot intermix these two commands.
_________________________________________________________________________________________________ Q.80 How do you release page buffers?
A By issuing a FREEMAIN command.
_________________________________________________________________________________________________ Q.81 What do you have to do to determine if data was sent (from a screen) from a specific (single) field?
A You have to check the MDT for that field.
_________________________________________________________________________________________________ Q.82 Which command would you issue to get data in a task that was started by a START command?
A You would issue a RETRIEVE command.
_________________________________________________________________________________________________ Q.83 What would happen if you issued a READNEXT TS command and there were no more data in the queue?
A You would get an ITEMERR.
_________________________________________________________________________________________________ Q.84 You have a DL/I file and you want to issue a READPREV. Will it work correctly?
A You can issue a READPREV only against a VSAM file.
_________________________________________________________________________________________________ Q.85 Can you issue a BROWSE command in a CICS program that is pseudo conversational?
A Yes, but the BROWSE will terminate at the end of each task in the session, it will not carry over.
_________________________________________________________________________________________________ Q.86 What are the two ways to "set up” a browse starting with the first record in the file?
A You can :
• Set the complete key equal to hex zeros (the default option is GTEQ).
• You can specify KEYLENGTH(0) and GENERIC options.
_________________________________________________________________________________________________ Q.87 In a VSAM file, when you want to do a mass delete, the file has to be unprotected. How can you specify to the system that a file is unprotected?
A In the FCT you set LOG = NO.
_________________________________________________________________________________________________ Q.88 When you are sending your first data screen to the terminal, it is recommended that you specify the ERASE option. Why?
A If you do not include the ERASE option, the screen size will be the same as the previous screen size setting ... and this may not be correct. There may also be material on the screen which would remain if not overlaid by fields of your map.
_________________________________________________________________________________________________ Q.89 Which key, if depressed by the terminal operator, will set the screen size to its default size?
A The CLEAR key.
_________________________________________________________________________________________________ Q.90 Does a HANDLE CONDITION command take precedence over a HANDLE AID command?
A No, the HANDLE AID takes precedence.
_________________________________________________________________________________________________ Q.91 What does the BMS ROUTE command do?
A The ROUT E command initiates the building of a logical message that will be scheduled for delivery to one or more terminals.
_________________________________________________________________________________________________ Q.92 What has happened if you abend with an “APCT"?
A The program tried to execute a program that was either :
• Not defined in the PPT or active RDO group
• Disabled
_________________________________________________________________________________________________ Q.93 What does the ERASEUP command do?
A The ERASEUP command includes :
• Clears all MDTs
• Unlocks the keyboard
• Erases all unprotected fields
• Positions the cursor at the first unprotected field
_________________________________________________________________________________________________Q.94 What will happen if you issue an XCTL or a LINK and the called program cannot be found?
A: You will get a PGMIDERR.
_________________________________________________________________________________________________Q.95 What happens to the exception (HANDLE CONDITION, HANDLE ABEND, HANDLE AID) condition settings in a called routine once control has been transferred to the called routine?
A Once you are in the called routine, all condition settings are deactivated.
[url=http://hairtyson.com]buy Phen375[/url] are tablets that supporter slacken up on body weight. One of these tabs has to be taken with ring false, round 20 minutes before a collation, twice a day.
ReplyDelete[url=http://garciniacambogiaselectz.weebly.com]
ReplyDeletegarcinia cambogia fruit[/url] is the superior obese burning wring present in vend contemporarily a days. Bow to upto 10 kg in 1 month. garcinia cambogia select
Thank you, I have recently been looking for info approximately this topic for ages
ReplyDeleteand yours is the best I've found out till now. But, what concerning the bottom line? Are you certain about the source?
Also visit my web site; online graduate certificate programs
Thank you, I have recently been looking for info approximately
ReplyDeletethis topic for ages and yours is the best I've found out till now. But, what concerning the bottom line? Are you certain about the source?
Here is my website; online graduate certificate programs