Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / suv
If your question is like this:::
Suppose i want to declare a binary COMP field of storage 7
bytes .how
to write?
Answer is:
PIC S9(14) COMP.
storage byte required by COMP field will = half of the
digit specified in the PIC clause.
Just an info....
storage byte required by COMP3 field will = ( half of the
digit specified in the PIC clause)+1
Please correct me if I am wrong.
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
) how do u code after getting data?
How can you get the ksds file records into your cobol program?
Mention the guidelines to write a structured cobol program?
What is redefines clause in COBOL?
What is the difference between external and global variables in COBOL?
What guidelines should be followed to write a structured cobol prgm?
Write a cobol program making use of the redefine clause.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
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.
How are the next sentence and continue different from each other?
How to remove 2 duplicate records and copy only one using job control language?
What the difference is between continue and next sentence?
How you can characterize tables in cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.