if we display var1 then what will b displayed in below
condition.
77 var1 pic s9(2) value -10.
77 var1 pic s9(2) value -11.
" " " -12.
" " " -13.
-14
...
...
-19.

Answers were Sorted based on User's Feedback



if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 7..

Answer / s

It will give Compilation error as the variable is not
uniquely defined

Is This Answer Correct ?    10 Yes 0 No

if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 7..

Answer / piyush mani

u r wrt but if we declare diff var for above values then result will b like
value result
-10 1{
-11 1J
-12 1K
-13 1L

.........

THANKS

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More COBOL Interview Questions

1.Can we define condition-name conditions in FD entry.

11 Answers  


What is the difference between index and subscript?

5 Answers   Visa,


If I want to increase the Limit in GDG. What should I do?

2 Answers   IBM,


Difference between file status codes 02 and 22.... since both are for duplicate key detection.

1 Answers  


How To move a value to an array using move verb?

3 Answers   IBM,






How can you declare the file ?

1 Answers   Wipro,


Explain fixed length record in cobol? with suitable example

1 Answers   IBM,


88 level entry is used for (a) data items in WORKING-STORAGE SECTION (b) items with RENAMES clause (c) condition-names (d) None of the above

5 Answers   TCS,


whats the difference between search and search all?

4 Answers   Patni,


What guidelines should be followed to write a structured Cobol program?

1 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

2 Answers   IBM, Wipro,


Name the sections present in data division.

0 Answers  


Categories