How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)

Answer Posted / sroul4

Just write COUNT in front of the data set it will show thw
record count in it. 0 in this case.

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give some examples of command terminators?

931


explain sorting techniques in cobol program?

875


What is the difference between PIC 9.99 and 9v99 in COBOL?

960


How do get the result of your program directly on your pc?

2060


Describe the cobol database components?

876


What is the usage of comp fields in cobol?

860


What is the difference between perform … with test after and perform … with test before?

1133


What the difference is between continue and next sentence?

861


What is rmode(24)

890


example for sub strings ? and refernce modifications whit output pls

2061


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?

5582


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1021


What do you understand by psb and acb?

838


What is static and dynamic call in cobol?

778


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

893