How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)
Answer Posted / abhijit saha
Without JCL & Cobol i have this Option.
Just Type 'I' in front of your Datset which gives you
Data Set Information
jst Check the Current Utilization part if it shows 0 it
menas file is empty..
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
what is the difference between COBOL2 AND COBOL390?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Can we change the password using ALTER? anyone tried and changed?
What are all the divisions of a COBOL program?
What is redefines clause in COBOL?
What is perform what is varying?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
When is inspect verb is used in cobol?
What rules are to be followed while using the corresponding options?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What are the different open modes available in cobol?
Mention the guidelines to write a structured cobol program?
What is the difference between comp and comp-3?