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

01 x pic s9(8) comp.
How will the following value be internally allocated
'18787'

Answer Posted / kapil arya

Basically Comp Makes the word boundary.
(0 - 4) 2 Bytes (Half Word boundary)
(5-9) 4 Bytes (Full Word Boundary)
(10-18) 8 byte Double word Boundary

Because it is s9(8) Comp..
So I will take 4 byte to store the date.
And it will allocated like:
01 87 87 , will store in 3 byte and one byte will be free
or unused..



Guys or Girls i have one question...
Related to JCL
I have a jcl where in a step i have one DD statement where
i am concatinating the 3 dataset..so in next step i want to
override the 3rd dataset only.. So how can i override the
3rd dataset.. Please let me know the answer...
Thanks to All..

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different open modes available in cobol?

1167


What are the different rules of SORT operation?

1099


What are the pertinent COBOL commands?

3121


what are decleratives in cobol?

2223


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


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1488


What is the compute verb? How is it used?

1097


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2432


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

1149


What are 77 levels used for?

1074


What is the Purpose of Pointer in the string?

1042


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4130


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2243


What is link edit in cobol?

1165


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

2091