i declare a Table as OCCURS 2000 TIMES.If the input file
has more than 2000 records will the COBOL program fail?
Answer Posted / sadaf rehan
Table OCCURS Clause has nothing to do with the number of
records in the input file..
if you are reading sequentially all the records will get
processed..
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the use of outrecord?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the Purpose of Pointer in the string?
What is the difference between comp and comp-3?
What are the different rules of SORT operation?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Difference between cobol and cobol-ii?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is cobol?
What are different data types in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Name the sections present in data division.
What is the local-storage section?
What are all the divisions of a COBOL program?
How you can read the file from bottom?