What is the maximum length of a field you can define using
COMP-3?
Answers were Sorted based on User's Feedback
Answer / smita padhy
The maximum length of a computational item is 18 decimal
digits, except
for a PACKED-DECIMAL item. If the ARITH(COMPAT) compiler
option is in
effect, then the maximum length of a PACKED-DECIMAL item is
18 decimal
digits. If the ARITH(EXTEND) compiler option is in effect,
then the
maximum length of a PACKED-DECIMAL item is 31 decimal
digits.
Is This Answer Correct ? | 11 Yes | 3 No |
Answer / nihar ranjan karan
If you use the compiler option ARITH(EXTEND) then you can
have a maximum of 31 digits.
Look up the compiler option ARITH in manual... you will get
some more info also...
Is This Answer Correct ? | 9 Yes | 3 No |
i have a requrement in A as viswa!@#$%&^**reddy i need to move viswareddy in B without junk values pls say how to do ths reply fast
What is the difference between index and subscript?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are the divisions in a cobol program? Which one is the mandatory division among them?
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
Can printer files (having 133 characters) be of variable length?
I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
Explain how to differentiate call by context by comparing it to other calls?
how to crack cts interview apps? NOVEMBER 21 2010
What is COMP-1? COMP-2?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?