Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / i go crazy
Hi Suv,
If u code S9(14) COMP, it will take double word i.e. 8
bytes. Below is the size of comp variables.
S9(01) - S9(04) : 2 BYTES.
S9(05) - S9(09) : 4 BYTES.
S9(10) - S9(18) : 8 BYTES.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What guidelines should be followed to write a structured cobol prgm?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Can we change the password using ALTER? anyone tried and changed?
how to move the records from file to array table. give with code example
Explain how to differentiate call by context by comparing it to other calls?
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 u write test cases?
Name the divisions, which are available in a cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are declaratives and what are their uses in cobol?
how do you reference the variable unblock file formats from cobol programs