Practice Question and Answer

Q: What divisions, sections and paragraphs are mandatory for a COBOL program? 1249 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

IDENTIFICATION DIVISION and PROGRAM-ID paragraph are mandatory for a compilation error free COBOL program.

Q: How is sign stored in a COMP field? 1816 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

It is stored in the most significant bit. Bit is ON if -ve, OFF if +ve.

Q: What are the differences between COBOL and COBOL II? 1811 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

There are some differences: COBOL II supports structured programming by using in line Performs and explicit scope terminators. It introduces new features (EVALUATE, SET. TO TRUE, CALL BY CONTEXT, etc). It permits programs to be loaded and addressed above the 16-megabyte line .  It does not support many old features (READY TRACE, REPORT-WRITER, ISAM, etc.). It offers enhanced CICS support.

Q: What guidelines should be followed to write a structured COBOL program ? 1215 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Following guidelines to be following while writing Cobol program: - Use ? EVALUATE ? statement for constructing cases. - Use scope terminators for nesting. - Use in-line Perform statement for writing ?do? constructions. - Use Test Before and Test After in the Perform statement while writing Do-While statements.

Q: What is autostatus in IDMS? 1064 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Autostatus is a protocol mode which causes the expansion of each DML statement to include a 'perform IDMS-Status' statement.

Q: How does IDMS communicate with CICS? 1586 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

They communicate via service MVS request calls.

Q: What is an OOK-Rec in IDMS? 1673 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

An OOK-Rec is a one of a kind record set, used to get to another record set.

Q: Is there a application program coding difference between local and central version mode in IDMS? 1036 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

No. The mode is specified via the SYSCTL DD card in the JCL.

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully