what is the difference between Normal vaiable and comp
variable.
Answer Posted / suman agrawal
Using comp, the value will be stored in binary format.
The allocation in number of bytes is based on the number of
digit the variable use:
No. of digits Bytes
1-4 2 bytes
5-9 4 bytes
10-18 8 bytes
| Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Name the sections present in data division.
What is the difference between next sentence and continue in cobol programing language?
What is a SSRANGE and NOSSRANGE?
What are the pertinent COBOL commands?
What is an in line perform? When would you use it? Anything else you wish to say about it.
what are decleratives in cobol?
What is static and dynamic call in cobol?
Give some examples of command terminators?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
how do you reference the ksds vsam file formats from cobol programs