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

COmp will take 2byte pic size-1-4
4byte pic size 5-9
8byte pic size 10-18

if we use comp-3 it will take n/2+1/2 byte extra for sign if
pic is odd no.if it is even it will take n/2.

my answer is 8 bytes

pls let me know if any thng wrong

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by psb and acb?

1081


What is the difference between Call and a Link?

1144


how do you reference the printer file formats from cobol programs

1169


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9039


How you can read the file from bottom?

1103


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1472


how do you reference the esds vsam file formats from cobol programs

1150


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

1202


How many sections are there in data division in COBOL?

1098


Give some examples of command terminators?

1217


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1172


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

1077


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


what is the use of outrecord?

2168


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1189