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 |
level number 77 is used to define a)group data b)elementary data c)redefine d)none
1.What is the limit of linkage section?
What is the difference between write & move in COBOL?
What rules are to be followed while using the corresponding options?
Can we put move statement in COBOL copybook
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
I have a occurs for 100 times but it has executed 101 time what could be the reason?
.How to add one input & one Out file in existing cobol program. how approach tell me step by step.
What is SET TO TRUE all about, anyway?
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
can we use the two 01 level in file discription ?
If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.