Welcome,  Guest  |  Sign In |  New User? 

List of COBOL interview questions Interview Questions & Answers

Page 1 of 20: 1 2 3 4 5 6 7 8 9 10 Next>>

What does EXIT do?         [ 27 ]

 Does nothing ! If used, must be the only sentence within a paragraph.

Choose your rating:    Post Ans.    View More Ans.

What is the difference between performing a SECTION and a PARAGRAPH?         [ 32 ]

Performing a SECTION will cause all the paragraphs that are part of the section, to be performed.

Performing a PARAGRAPH will cause only that paragraph to be performed.

Choose your rating:    Post Ans.    View More Ans.

What does the IS NUMERIC clause establish?         [ 25 ]

IS NUMERIC can be used on alphanumeric items, signed numeric & packed decimal items and unsigned numeric & packed decimal items. IS NUMERIC returns TRUE if the item only consists of 0-9. However, if the item being tested is a signed item, then it may contain 0-9, + and - .

Choose your rating:    Post Ans.    View More Ans.

The maximum number of dimensions that an array can have in COBOL-85 is ________.         [ 27 ]

SEVEN in COBOL - 85 and THREE in COBOL - 84

Choose your rating:    Post Ans.    View More Ans.

Why do we code s9(4)comp. Inspite of knowing comp-3 will occupy less space.         [ 17 ]

Here s9(4)comp is small integer ,so two words equal to 8 bytes. Totally it will occupy 2 bytes(4 words).here in s9(4) comp-3 as one word is equal to 1/2 byte.4 words equal to 2 bytes and sign will occupy 1/2 bytes totally it will occupy 3 bytes.

Choose your rating:    Post Ans.    View More Ans.

Give some advantages of REDEFINES clause.         [ 24 ]

You can REDEFINE a Variable from one PICTURE class to another PICTURE class by using the same memory location. By REDEFINES we can INITIALISE the variable in WORKING-STORAGE Section itself.3. We can REDEFINE a Single Variable into so many sub-variables.(This facility is very useful in solving Y2000 Problem.)

Choose your rating:    Post Ans.    View More Ans.

What care has to be taken to force program to execute above 16 Meg line?         [ 18 ]

Make sure that link option is AMODE=31 and RMODE=ANY. Compile option should never have SIZE(MAX).BUFSIZE can be 2K, efficient enough.

Choose your rating:    Post Ans.    View More Ans.

What are some examples of command terminators?         [ 24 ]

END-IF, END-EVALUATE

Choose your rating:    Post Ans.    View More Ans.

what guidelines should be followed to write a structured COBOL program?         [ 20 ]

1) Use 'EVALUATE' stmt for constructing cases. 2) Use scope terminators for nesting. 3)Use in-line Perform stmt for writing 'do ' constructions. 4) Use Test Before and test after in the Perform stmt for writing Do-While constructions.

Choose your rating:    Post Ans.    View More Ans.

what is Pic 9v99 Indicates?         [ 20 ]

PICTURE 9v99 is a three position Numeric field with an implied or assumed decimal point after the first position; the v means an implied decimal point.

Choose your rating:    Post Ans.    View More Ans.

Page 1 of 20: 1 2 3 4 5 6 7 8 9 10 Next>>