Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the usage of comp fields in cobol?

1130


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1033


what is amode(24), amode(31), rmode(24) and rmode(any)?

1092


What are the cobol coding sheets?

1173


What is the difference between PIC 9.99 and 9v99 in COBOL?

1244


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

817


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?

2532


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3172


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3206


What are the rules of the move verb?

1192


What is the difference between next sentence and continue in cobol programing language?

1161


How do you define a variable of comp-1 and comp-2?

1135


What is the difference between Call and a Link?

1121


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2013


What is the local-storage section?

1102