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...

how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?

Answer Posted / shiva

COMP1-IT OCCUPIES 4 BYTES TO STORE UP TO 18 CHARACTERS
COMP2-IT OCCUPIES 8 BYTE TO STORE UP TO 18 CHARACTERS
COMP3-IT OCCUPIES HALF BYTE FOR EACH CHARACTER AND HALF BYTE
FOR SIGN...FOR ODD DATA LENGTH SO IT OCCUPIES
(15/2=7.5)+(1/2)=7.5+0.5=8 BYTES.

Is This Answer Correct ?    21 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which area will you utilize 88 level items in cobol?

1103


Mention the guidelines to write a structured cobol program?

1029


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5672


Write the code to count the sum of n natural numbers.

1145


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

1176


What are the access modes of START statement?

1191


What are the different types of condition in cobol and write their forms.

1064


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

3174


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

1453


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1177


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

3211


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2408


What are the cobol coding sheets?

1180


i need a small 3d program using inline and outline.

2169


Discuss about changing dataset name in proc.

1175