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 would the number +1234 be stored if a PIC clause of
PICTUREs9(4) comp-3 were used?

Answer Posted / suputhru

9(4) comp-3 takes 3 byets
each digit takes half byte.

-- -- -- 3bytes
numeric alignment is right to left <-----
first sign will store in half byte right. right.

c
-- -- --

then next 4 will store.

4c
-- -- -- like that

01 23 4c
-- -- -- will store.

Fonda is sign will store right most half byte.

-SK.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Purpose of POINTER Phrase in STRING command in COBOL?

1259


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1651


How many sections are there in data division in COBOL?

1141


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1218


Are you comfortable in cobol or jcl?

1051


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1329


What is the difference between structured cobol programming and object alternativelyiented cobol?

1254


What is comp-1 and comp-2?

1232


Explain about different table spaces.

1110


Give some examples of command terminators?

1264


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

2476


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

2134


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2965


Difference between cobol and cobol-ii?

1282


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

1148