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
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What are declaratives and what are their uses in cobol?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Can we change the password using ALTER? anyone tried and changed?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are the different rules for performing sort operation?
Why did you choose to work with ibm mainframe cobol programming?
A table has two indexes defined. Which one will be used by the SEARCH?
what are decleratives in cobol?
How do you reference the fixed block file formats from cobol programs
What is the difference between PIC 9.99 and PIC9v99?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?