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 is the usage of comp fields in cobol?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What are the cobol coding sheets?
What is the difference between PIC 9.99 and 9v99 in COBOL?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are the rules of the move verb?
What is the difference between next sentence and continue in cobol programing language?
How do you define a variable of comp-1 and comp-2?
What is the difference between Call and a Link?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the local-storage section?