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
Answer / s
It will give Compilation error as the variable is not
uniquely defined
| Is This Answer Correct ? | 10 Yes | 0 No |
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 |
What are the various section in data division and briefly explain them.
What is tne need to use sub programs in Cobol?
Where the Plan is located in CICS-DB2
what is the minimum number of lines a Cobol program should have to successfully compile and run
11 Answers ABC, Societe Generale,
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is a scope terminator? Give examples.
what are the diferences b/w sub-script and index?
which is better comp or comp-3 in terms of memory utilization?
What is the difference between goback, stop run and exit program in cobol?
How do we get current date from system with century in COBOL?
I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...
which is better either static call or dynamic call? and why?