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 can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
what is the difference between COBOL2 AND COBOL390?
Write a program to explain size error.
What is the difference between binary search and sequential search?
What are the pertinent COBOL
How do define dynamic array in cobol.
What is the difference between Global and External Variables?
Which mode is used to operate the sequential file?
What is the compute verb? How is it used?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What are the different rules to perform a Search?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is the utilization of copybook in cobol?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?