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 / tata

if we use comp3(packed decimal)
declare like 01 a pic s9(13)comp3.
13/2=6.5 and s takes extrahalf byte.
that is 6.5+0.5=7.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between binary search and sequential search?

1054


What is the difference between comp and comp-3?

1144


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2563


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

2404


What are the rules of the move verb?

1216


What is Pic 9v99 Indicates in COBOL?

1202


Define static linking and dynamic linking.

1137


What are declaratives and what are their uses in cobol?

1157


how do you reference the rrds file formats from cobol programs

1525


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

3200


how do you reference the variable unblock file formats from cobol programs

1294


For rewrite, why is it mandatory that file needs to be opened?

1077


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2091


Write some characteristics of cobol as means of business language.

1100


What are the different rules of SORT operation?

1099