How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)
Answer Posted / vinodh
Goto ISPF 3.4, give the dataset name hit enter.
Press F11 until you see '%used', if its zero then the file
is empty. This will be useful if you want to validate many
GDG's for emptiness.
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How do you define a variable of comp-1 and comp-2?
how to refer the data field?
Explain the configuration section of a cobol program with examples of syntax.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Explain what you understand by passing by value.
i want a program using by if, evaluate , string, unstring, perform, occurs?
how do you reference the fixed unblock file formats from cobol programs
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Write the code implementing the perform … varying.
Define cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
I have a File that has duplicate records. I need only those records that occur more than thrice.?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?