Name some of the common tables in CICS and their usage?
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
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
3. Which CICS service transaction is used to gain accessibility to CICS control tables? Mention the one that has the highest priority?
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: Use the SORTWK01, SORTWK02, dd names in the step Number of sort datasets depends on the volume of data being sorted, but a minimum of 3 is required
10. What are different file OPEN modes available in COBOL?
Correct Answer: Open for INPUT, OUTPUT, I-O, EXTEND 1INPUT : for read only purpose 2OUTPUT : for write only purpose 3EXTEND : for appending records 4I-O : for read and write(using EXTEND) purpose