You are on page 1of 2

1)Is more than one record description is allowed in a FD?

2) Is NUMERIC EDIT fields can be used for Arithmatic operations?

3) Is COMPUTE P,Q,W = A+ B/C -E ** 2 is a valid statement?

4) Is LINKAGE SECTION is mandatory in a sub program?

5) In edit fiels the character used for check protection is __________

6) COMP-2 occupies _________ bytes?

7) Maximum length of a numeric item ________ ?

8) If your code looks like the following:


01 rec1
02 a pic x(06).
02 b redifines a.
03 c occurs 6 times pic 9.
01 d occurs 6 times.
02 e pic x(5).
02 f pic 999.

Then the length of the field rec1?


9) What is zonal decimal in Cobol?

10)In COBOL the array 1st element starts from

a)0

b)1

11) What are the two cobol verbs that are used in data division? (one is COPY..what is the
other)

12) 77 WS-AMT PIC ZZZ999.


ADD 100 TO WS-AMT WILL RESULT IN

a) COMPILATION ERROR
b) SOC7 ERROR
C) NO ERROR

13) 77 I PI 9.
PERFORM VARYING I FROM 1 BY 1 UNTIL>10
DISPLAY 'OK'
END-PERFORM.

What output/msg is likely when this program is executed thru JCL?

14) What are the HIGH Values,LOW values and where we can use?

15) can we use redefine clause in occurs clause?

16) What is the logical difference between Move A TO B and COMPUTE B = A?

17) 77 CTR PIC S9(4)V99 VALUE -1234.55.


What will be output of the statement
DISPLAY CTR?

18) What is the difference between RETURN CODE & MAXCC CODE

You might also like