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 is the utilization of copybook in cobol? Could we utilize a similar copybook?

1206


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

1088


What guidelines should be followed to write a structured cobol prgm?

1136


how to convert the recors form vsam file to db2 table tru file aid

3245


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

1488


) How do u handle errors in BMS macro

2013


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

1196


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

853


What kind of error is trapped by on size error option?

1216


How to know whether the module is dynamical or statistical?

1121


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

1194


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

1161


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

1185


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

3247


What is the difference between comp and comp-3?

1173