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


Please Help Members By Posting Answers For Below Questions

What is redefines clause in COBOL?

1045


Write a program to explain size error.

888


How many sections are there in data division in COBOL?

893


What are the various section in data division and briefly explain them.

921


Explain the configuration section of a cobol program with examples of syntax.

874


what is search and searchall?what is the diffrence between them?give an best example?

6199


what is the use of outrecord?

1972


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5602


In COBOL, what is the different between index and subscript?

959


how do you reference the ksds vsam file formats from cobol programs

884


What are the pertinent COBOL

2247


explain sorting techniques in cobol program?

899


What is the LINKAGE SECTION used in COBOL?

1214


What is comp-1 and comp-2?

948


Explain how you can characterize tables in cobol?

823