how would find total records in files using seqientional
Answer / guest
We can increment the count for each reading of record in a file.
Read file
count = count + 1
At end
display count
| Is This Answer Correct ? | 13 Yes | 2 No |
What is difference between COBOL and VS COBOL II?.
How to pass return codes from cobol to jcl?
how to resolve the file status 47.......
in how many mode we can open a file ?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How does IDMS insure data integrity?
How can we increase the size of an existing PDS to include more no. of modules.
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
What are the different data types available in COBOL?
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).