CICS Programming Language Quiz! Trivia Test

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Srinimf
S
Srinimf
Community Contributor
Quizzes Created: 6 | Total Attempts: 22,469
Questions: 11 | Attempts: 4,766

SettingsSettingsSettings
CICS Programming Language Quiz! Trivia Test - Quiz


Can you pass this CICS Programming language quiz? CICS allows users to develop and execute online applications and is the most commonly used for internet applications. Do you think you know enough to tackle it? This quiz will act as the perfect test to find out.


Questions and Answers
  • 1. 

    My friend in his coding given as Move '001'   TO REC-KEY EXEC CICS READ NEXT ... RIDFLD(REC-KEY) Do you think it is possible to skip some records with this command? END-EXEC

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
    Explanation
    The given code snippet does not include any condition or logic to skip records. It only moves the value '001' to the variable REC-KEY and then performs a CICS READ NEXT operation. This operation will read the next record sequentially without skipping any records. Therefore, it is not possible to skip records with this command.

    Rate this question:

  • 2. 

    Intra-partition TDQ can be accessed by any transaction in the CICS region?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Intra-partition TDQ can be accessed by any transaction in the CICS region. This means that any transaction running within the same partition as the TDQ can access and manipulate the data in the TDQ. The intra-partition TDQ provides a way for different transactions to communicate and share data within the same CICS region. Therefore, the statement "True" is correct.

    Rate this question:

  • 3. 

    What are the end-of -file conditions?

    • A.

      VSAM- ENDFILE

    • B.

      TSQ -ITEMERR

    • C.

      TDQ - QZERO

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    The correct answer is "All of the above" because each option listed represents an end-of-file condition for different types of files. In VSAM, ENDFILE indicates the end of the file has been reached. In TSQ (Temporary Storage Queue), ITEMERR indicates that there are no more items in the queue. In TDQ (Transient Data Queue), QZERO indicates that the queue is empty. Therefore, all three options represent different end-of-file conditions for their respective file types.

    Rate this question:

  • 4. 

    IN CICS-DB2 table, where the program reference the plan?

    • A.

      PCT

    • B.

      RCT

    • C.

      PPT

    • D.

      None

    Correct Answer
    B. RCT
    Explanation
    In CICS-DB2 table, the program references the plan through the RCT (Resource Control Table). The RCT contains information about the resources used by CICS, including plans. It is responsible for managing the resources and ensuring their availability for programs. Therefore, in order to access the plan in the CICS-DB2 table, the program needs to reference the RCT.

    Rate this question:

  • 5. 

    The major differences between TSQ and TDQ?

    • A.

      TSQ can be read and re-read

    • B.

      TDQ can not be re-read

    • C.

      TSQ stores on main or auxilary storage. TDQ stores only on physical file (VSAM)

    • D.

      All of the above

    Correct Answer
    C. TSQ stores on main or auxilary storage. TDQ stores only on physical file (VSAM)
    Explanation
    TSQ (Temporary Storage Queue) is a storage facility in main or auxiliary storage that can be read and re-read multiple times. On the other hand, TDQ (Transient Data Queue) is a storage facility that can only be read once and cannot be re-read. TDQ stores data only on a physical file known as VSAM. Therefore, the correct answer is that TSQ stores on main or auxiliary storage while TDQ stores only on a physical file (VSAM).

    Rate this question:

  • 6. 

    "MASSINSERT" options write a group of records into a VSAM file, and it is a high-performance option.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The "MASSINSERT" options are used to write a group of records into a VSAM file. This option is known for its high-performance capabilities, meaning it can efficiently handle large amounts of data and process it quickly. Therefore, the statement that "MASSINSERT" options write a group of records into a VSAM file and are a high-performance option is true.

    Rate this question:

  • 7. 

    Important CICS copy lib members?

    • A.

      DFHEIBLK

    • B.

      DFHBMSCA

    • C.

      None of the above

    • D.

      A and b

    Correct Answer
    D. A and b
    Explanation
    The important CICS copy lib members are DFHEIBLK and DFHBMSCA. These members play crucial roles in CICS. DFHEIBLK is a copybook that defines the format of the EIB (Execute Interface Block), which contains information about the current task being executed in CICS. DFHBMSCA is a copybook that defines the format of the BMS (Basic Mapping Support) control blocks, which are used for screen handling in CICS applications. Both of these copy lib members are essential for proper functioning of CICS programs.

    Rate this question:

  • 8. 

    What is the o/p from this command? EXEC CICS ASK TIME ABSTIME(DATA-ARAEA) END-EXEC

    • A.

      TIME

    • B.

      TIME STAMP

    • C.

      DATE AND TIME

    • D.

      NONE

    Correct Answer
    A. TIME
    Explanation
    The given command "EXEC CICS ASK TIME" is used to retrieve the current system time. The ABSTIME option is used to specify the storage area where the time value will be returned. In this case, the time value will be returned in the variable named DATA-ARAEA. Therefore, the output from this command will be the current system time.

    Rate this question:

  • 9. 

    How do we call sub-program from cics program? EXEC CICS  XCTL PROGRAM(PGM-NAME) END-EXEC  

    • A.

      FALSE

    • B.

      TRUE

    • C.

      SYNTAX NOT CORRECT

    • D.

      None

    Correct Answer
    B. TRUE
    Explanation
    The correct answer is TRUE. In CICS, we can call a sub-program using the EXEC CICS XCTL statement followed by the PROGRAM(PGM-NAME) parameter. This statement transfers control to the specified sub-program, allowing it to be executed.

    Rate this question:

  • 10. 

    The size of the EIBRESP code?

    • A.

      6 bytes

    • B.

      4 bytes

    • C.

      2 bytes

    • D.

      None

    Correct Answer
    B. 4 bytes
    Explanation
    The EIBRESP code is a 4-byte field that is used in IBM mainframe systems to indicate the response code of a program or transaction. This code is typically used to determine the success or failure of a particular operation. The 4-byte size allows for a wide range of possible response codes to be represented, providing enough flexibility for different types of errors or statuses to be communicated.

    Rate this question:

  • 11. 

    In general, how many macros we code in BMP map definition?

    • A.

      3 DFHMSD, MDI, MDF

    • B.

      2 DFHMSD, MDI

    • C.

      1 DFHMSD

    • D.

      None

    Correct Answer
    A. 3 DFHMSD, MDI, MDF
    Explanation
    The correct answer is 3 DFHMSD, MDI, MDF. In a BMP (Basic Mapping Support) map definition, we typically code three macros. DFHMSD is used to define the mapset, screen, and map level attributes. MDI is used to define the map input fields and their attributes. MDF is used to define the map output fields and their attributes. These three macros are essential for defining the structure and behavior of a map in a BMP environment.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 20, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Apr 22, 2012
    Quiz Created by
    Srinimf
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.