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.
Answer Posted / s
It will give Compilation error as the variable is not
uniquely defined
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is comp-1 and comp-2?
i need a small 3d program using inline and outline.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between structured cobol programming and object alternativelyiented cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
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.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is amode(24)?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
how do you reference the esds vsam file formats from cobol programs
Are you comfortable in cobol or jcl?
Write some characteristics of cobol as means of business language.
What is difference between static and dynamic call in cobol?