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 |
What is the difference between subscript and index?
how will u code parm parameter and where pls ?
What is static and dynamic call in cobol?
How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?
i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.
How do pass the values to the parameters 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
What the difference is between continue and next sentence?
how many maximum no of variables can be declared in linkage section ?
Can we access the a[0] in the array ?
how to access vsam files in cobol and how to differentiate that this is ESDS file
I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you