Consider the following COBOL entries:
05 X PIC 99 VALUE 10.
SUBTRACT 20 FROM X.
The resultant value of X wil be
Answer Posted / prabhu shankar
If u see the level number itself u can able to say that it
will show error. Because PIC will have the level number 77
and not like 01,02,03.
So it show the error only.Wll not exucute.
I think so. If any wrong plz apologise me.
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
Difference between array and sub-script ?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What are declaratives and what are their uses in cobol?
Can a Search can be done on a table with or without Index?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Discuss about changing dataset name in proc.
Write a cobol program making use of the redefine clause.
Can you please let me know the centre name of INS certification in Kolkata.
how can i see junk values in dclgen or in hostvariable of comp ?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Give some examples of command terminators?
What are the different open modes available in cobol?
how to refer the data field?
What is a scope terminator give example?
Write the code to count the sum of n natural numbers.