• Is 0123 a valid section name?
  • OCCURS clause cannot be specified for 01 and 77.
  • How many bytes would S9(9)V99 occupy?
  • Can index be manipulated using ADD & SET verbs
  • Identify the correct statement.

A) PERFORM WITH TEST AFTER is the default.  B) PERFORM WITH TEST BEFORE is the default. 

  • How many times PARA-1 is executed when SUB is with PIC 9.

    PERFORM PARA-1 VARYING SUB FROM 1 BY 1 UNTIL SUB = 10. C) Keep looping (as SUB will become 0 when increased to 10)

  • ·  Is is possible to redefine a field with X(7) to X(10) ?
  • If the number of occurrences cannot be determined in the OCCURS

    clause which option is used.

  • Identify the incorrect statement

A) Linkage Section is mandatory in sub programs.  B) Linkage section can be defined in sub program. C) Linkage section is used to pass data between program. D) Linkage section must appear after working storage section.

  • Identify the correct statement.

A) Called program can contain call statements.  B) Called program must not contain call statements. C) Called program must contain call statements. D) Only calling program can contain call statements.

  • How many bytes will a S9(10) COMP-3 field occupy?
  • Identify the incorrect statement

A) It can be specified only for elementary items and not for group items. B) It can not be specified with edited alphanumeric items. C) It can not be used with level 66 and level 88  D) It can be used to change the default movement of alphabetic and alphanumeric items. E) It can not be used with numeric data items.

  • What is the result of the following?

VAR1 is defined as PIC 9(7). C) VAR1 would contain 1234567

  • What would happen with the following statement?

01 VAR1  PIC 9(7) JUST RIGHT. A) The movement of values in VAR1 will be from left to right. B) The movement of values in VAR1 will be from right to left. C) The movement of values in VAR1 will not change. D) Result in compilation error.

  • Answer the question considering the following code

       PERFORM PARA-ABC WITH TEST BEFORE UNTIL SUBI  > 14.

  • What will be the value of SUBJ on execution of the above code.
  • How many bytes of storage are required to hold emp-sal-rec which

       05 sal-history occurs 12 times.           10 deductions occurs 5 times pic 9(3)v99.

  • Identify the correct statement

A) Group items can have value clause but the elementary items under them should not have value clause in such situation. B) Only Group items can have value clause C) Elementary items can not have value clause D) Group items must have value clause

  • Identify which of these are the correct declaration?

1)       01 VAR1 VALUE ‘ABCDE’.           05 VAR2 PIC X(3) VALUE ‘ABC’.           05 VAR3 PIC X(2) VALUE ‘DE’. 3)       01 VAR1 VALUE ‘ABCDE’.           05 VAR2 PIC X(3) VALUE ‘ABC’.           05 VAR3 PIC X(2) VALUE ‘DE’. 4)       01 VAR1 PIC X(5) VALUE ‘ABCDE’.

  • Identify the correct statement.

A) The START instruction positions and reads record. B) The START instruction positions record. 

  • If VAR1 = “XYZ” OR  VAR1 = 123

can be valid COBOL statement.

  • Add  VAR1 to VAR2 on SIZE ERROR DISPLAY “Size Error” is