How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)
Answer Posted / sharmila_g
IEBPTPCH is used to check empty dataset.. if it returns 4 the dataset is empty or if it returns 0 it is not empty.
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is length is cobol?
What are the various section in data division and briefly explain them.
In COBOL, what is the different between index and subscript?
How do you reference the following file formats from cobol programs?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Write a cobol program making use of the redefine clause.
Which is not true about evaluate statement
Can we redefine the field of x(200) to less than 200?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the Purpose of Pointer in the string?
What is the difference between external and global variables in COBOL?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
) what is the difference between AID and HANDLE AID?
A table has two indexes defined. Which one will be used by the SEARCH?
What are the access modes of START statement?