Explain the basic difference between Intra partition TDQ and Extra partition TDQ?
Correct Answer
INTRA PARTITION TD QUEUE : It is a goup of sequential records which are produced by the same and / or different transaction within a CICS region These Qs are stored in only one physical file (VSAM) in a CICS region, which is prepared by the system programmer Once a record is read from a queue, the record will be logically removed from the queue EXTRA PARTITION TD QUEUE: It is a group of sequential record which interface between the transaction s of the CICS region and the systems outside of CICS region Each of there TDQs is a separate physical file, and it may be on the disk, tap, printer or plotter
Correct Answer: An abnormal situation during execution of a CICS command is called an exceptional condition: 1 Handle Condition Command: It is used to transfer control to the procedure label specified if the exceptional condition specified occurs 2 Ignore Condition Command: It causes no action to be taken if the condition specified occurs in the program That is control will be returned to the next instruction following the command which encountered the exceptional condition 3 No Handle Option: This option can be specified in any CICS command and it will cause no action to be taken for any exceptional condition occurring during execution of this command 4 RESP Option: This option can be specified in any CICS command If the RESP option is specified in a command, CICS places a response code at a completion of the command The application program can check this code, then proceed to the next processing
3. What is the difference between the enter key, the PF keys and the PA keys?
Correct Answer: The enter and PF keys transmit data from the screen; the PA keys tell CICS that a terminal action took place, but data is not transmitted
4. Explain the difference among the EXEC LINK, EXEC XCTL and Cobol II static call statements in CICS?
Correct Answer: - Use a COBOL II CALL statement to invoke a subprogram This method is transparent to CICS, which sees only the one load module - EXEC LINK is similar to a call; it invokes a separate CICS program and ends with a RETURN to the invoking program - EXEC XCTL which transfers control to another CICS program and does not get control back COBOL II allows for static calls which are more efficient than the LINK instruction which establishes a new run-unit
Correct Answer: The CICS translator converts the EXEC CICS commands into call statements for a specific programming language There are CICS translators for Assembler, COBOL, and PL/1
6. Which CICS service transaction is used to gain accessibility to CICS control tables? Mention the one that has the highest priority?
Correct Answer: The LOAD command retrieves an object program from disk and loads it into main storage - it's primarily used for a constant table that will be available system-wide
Correct Answer: PCT (Program Control Table) - Defines each transaction containing a list of valid transaction identifiers (transid) where each transaction is paired with its matching program PPT (Program Processing Table) - Contains a list of valid program names and maps and whether a current version is in the CICS region or needs to be brought in as a new copy FCT (File Control Table) - Contains a list of files known to CICS, the dataset name and status (closed/open, enable/disabled) TCT (Terminal Control Table)- A list of the terminals known to CICS
10. What CICS command do you need to obtain the user logon-id?