Answer Posted / swamy
Comp-3 fields occupy (n+1)/2 spaces , 1 being the sign
eg: Pic S9(7) COMP-3. Byte size = (7+1)/2 = 4
Pic S9(5)V99 COMP-3. Byte size = (5+2+1)/2 = 4
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the compute verb? How is it used?
What are the different rules for performing sort operation?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How do get the result of your program directly on your pc?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
how do you reference the ksds vsam file formats from cobol programs
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Name the sections present in data division.
what is the use of outrecord?
What are 77 levels used for?
How you can read the file from bottom?
What rules are to be followed while using the corresponding options?