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
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
what are decleratives in cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What kind of error is trapped by on size error option?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What do you understand by psb and acb?
What are 77 levels used for?
What is the LINKAGE SECTION used in COBOL?
What is link edit in cobol?
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.
What is the local-storage section?
What are literals?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need