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
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
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 is the difference between PIC 9.99 and 9v99 in COBOL?
What is the difference between comp and comp-3?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is a SSRANGE and NOSSRANGE?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
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.
What is the local-storage section?
What rules are followed by the search verb.
What are literals?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.