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 |
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
in how many mode we can open a file ?
What is link edit in cobol?
there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it
How many bytes do a s9 (7) comp-3 field occupy?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
if we have a 10 steps how to override the 4th step in jcl?
How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
What is SDSF?
What will happen if we generate GDG (+2) version without generating (+1) version?
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?