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
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What are the different data types in cobol?
What is the difference between comp and comp-3?
how to move the records from file to array table. give with code example
For rewrite, why is it mandatory that file needs to be opened?
explain sorting techniques in cobol program?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What are the rules of the move verb?
What is a report item?
What is a SSRANGE and NOSSRANGE?
Write a program to enter and display the names of students in a class using the occurs clause.
Name the divisions, which are available in a cobol program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Can we redefine the field of x(200) to less than 200?