How is sign stored in a COMP field ?
Answers were Sorted based on User's Feedback
Answer / dev
the most significant bit is used as a sign bit if it is set
then the field is negetive if not than positive
| Is This Answer Correct ? | 23 Yes | 1 No |
TYPES OF SORTINGS. which is more prefarable.
Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?
what are the diferences b/w sub-script and index?
What is sqlca and why is it needed in any cobol-db2 program?
if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.
Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.
input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
What is SSRANGE, NOSSRANGE ?
9(2).99 how many bytes take? Why . consider as a byte?
What is XDC ?
SSRange is used to do a range check on which of the Following. SUBSCRIPT,INDEX,REFERENCE MODIFICATION,Run-time option.