What is the maximum length of a field you can define using
COMP-3?

Answers were Sorted based on User's Feedback



What is the maximum length of a field you can define using COMP-3?..

Answer / elite group

S9(18) Comp-3

Is This Answer Correct ?    41 Yes 9 No

What is the maximum length of a field you can define using COMP-3?..

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

What is the maximum length of a field you can define using COMP-3?..

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

What is the maximum length of a field you can define using COMP-3?..

Answer / vivek ar

The first answr is correct .It is indeeed 10

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More COBOL Interview Questions

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

4 Answers   L&T,


What is the difference between index and subscript?

5 Answers   Visa,


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?

0 Answers  


What are the divisions in a cobol program? Which one is the mandatory division among them?

1 Answers  


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.

1 Answers   L&T,






Can printer files (having 133 characters) be of variable length?

3 Answers  


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

2 Answers  


Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?

3 Answers  


Explain how to differentiate call by context by comparing it to other calls?

0 Answers  


how to crack cts interview apps? NOVEMBER 21 2010

2 Answers   CTS,


What is COMP-1? COMP-2?

4 Answers   CitiGroup,


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

0 Answers  


Categories