How is sign stored in a comp-3 field?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

640


What is the difference between Call and a Link?

694


Write a program to enter and display the names of students in a class using the occurs clause.

645


What is report-item in COBOL?

702


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

700






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

697


Name the divisions, which are available in a cobol program?

677


Which mode is used to operate the sequential file?

658


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

2326


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1606


How to remove 2 duplicate records and copy only one using job control language?

732


) How do u handle errors in BMS macro

1500


How do you get the data to code the BMS macro?

1470


What are literals?

622


In COBOL, what is the different between index and subscript?

752