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
Give some examples of command terminators?
What the difference is between continue and next sentence?
what is amode(24), amode(31), rmode(24) and rmode(any)?
) How do u handle errors in BMS macro
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the problem of ordered sequential files access?
In COBOL programming, what is PERFORM? What is VARYING?
Why did you choose to work with ibm mainframe cobol programming?
Write the code to count the sum of n natural numbers.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is static and dynamic call in cobol?