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
Are you comfortable in cobol or jcl?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
how to access the file from prodution from changeman tool and to submit a file to production
Explain how to differentiate call by context by comparing it to other calls?
What is the difference between comp and comp-3 usage?
) How do u handle errors in BMS macro?
How can you get the ksds file records into your cobol program?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What guidelines should be followed to write a structured cobol prgm?
How do you get the data to code the BMS macro?
What are the different rules to perform a Search?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
how do you reference the printer file formats from cobol programs
What is the difference between comp and comp-3?
Discuss about changing dataset name in proc.