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 is sign stored in a comp-3 field?

Answers were Sorted based on User's Feedback



How is sign stored in a comp-3 field?..

Answer / prashanth

sign will stored as hexadecimal in the last nibble of the
storage

Is This Answer Correct ?    19 Yes 0 No

How is sign stored in a comp-3 field?..

Answer / surya

it is stored as right most half a byte

Is This Answer Correct ?    16 Yes 0 No

How is sign stored in a comp-3 field?..

Answer / nitin

It is stored in the last nibble. For example if your number
is +100, it stores hex 0C in the last byte, hex 1C if your
number is 101, hex 2C if your number is 102, hex 1D if the
number is -101, hex 2D if the number is -102 etc...

Is This Answer Correct ?    5 Yes 0 No

How is sign stored in a comp-3 field?..

Answer / sai

it is stored in packed decimal formate.and in the form of
hex decimal .

Is This Answer Correct ?    5 Yes 3 No

How is sign stored in a comp-3 field?..

Answer / meera

When usage is Comp3 the sign is indicated as the rightmost
nibble even S is specified or not. It is in packed decimal
format. Total size is N/2+1

Is This Answer Correct ?    3 Yes 1 No

How is sign stored in a comp-3 field?..

Answer / hitz

Surya's right most half a byte is correct or Sekhar's left
most half-a-byte? please help to correct this.....

Is This Answer Correct ?    0 Yes 0 No

How is sign stored in a comp-3 field?..

Answer / sekhar

If the usage class is specified with the comp-3, the numeric
data item stored in packed decimal form, each item will
represent with one byte , the sign will stored in left most
half-a-byte whether the S is specified or not in the picture
cluase.

if any thing wrong let me know....

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More COBOL Interview Questions

What is an explicit scope terminator?

3 Answers  


why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.

2 Answers   TCS,


What is the Purpose of POINTER Phrase in STRING command

3 Answers  


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

0 Answers  


is it possible to declare index in cobol program? if it is not why its tell me pls

3 Answers  


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all

5 Answers   TCS,


COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

1 Answers   TCS,


COMP-3 field occupy ?

8 Answers  


What are the different rules to perform a Search?

0 Answers  


)what is retrieve?

1 Answers   IBM,


how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)

5 Answers   IBM,


Categories