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
What is amode(24)?
What are the different types of condition in cobol and write their forms.
Write a program to explain size error.
Have you used comp and comp-3 in your project? And how?
how to access the file from prodution from changeman tool and to submit a file to production
Define static linking and dynamic linking.
What are 77 levels used for?
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.
i want a program using by if, evaluate , string, unstring, perform, occurs?
Can we change the password using ALTER? anyone tried and changed?
Difference between array and sub-script ?
When is inspect verb is used in cobol?
What is cobol?
What is link edit in cobol?
What are the various section in data division and briefly explain them.