i declare a Table as OCCURS 2000 TIMES.If the input file
has more than 2000 records will the COBOL program fail?
Answers were Sorted based on User's Feedback
Answer / narayana
yes ,it abends after 2001 record read with soc7.
Is This Answer Correct ? | 0 Yes | 5 No |
study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid
How many bytes S(8) comp field occupy and its maximum value?
How do you define a variable of COMP-1? COMP-2?
can internal sort be applied to sort ksds files?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
is it possible to declare index in cobol program? if it is not why its tell me pls
How do you reference the following file formats from cobol programs?
I want ALL jcl ERROR cods
how to crack cts interview apps? NOVEMBER 21 2010
Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
Write the code to count the sum of n natural numbers.