Thanks all - exactly what I needed. Has this really been there since V5R1?
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rich Loeber
Sent: Tuesday, November 24, 2009 10:46 AM
To: Midrange Systems Technical Discussion
Subject: Re: Checking for the number of records in a file
Mike,
Use the RTVMBRD command .... check out the NBRCURRCD parameter .... this
is what you're looking for.
Rich Loeber - @richloeber
Kisco Information Systems
[1]
http://www.kisco.com
--------------------------------------------------------------------------
Mike Cunningham wrote:
Is there an easy way for a CL program to determine the number of records in a physical file? We upload files using FTP from a Windows server and would like to test to see if the file is empty and send a alert that the export process on the Windows server may not have worked correctly.
Thanks
References
Visible links
1.
http://www.kisco.com/
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.