Hi Mike,
We are at V4R5, and have been doing this for years.
Thanx,
Nick
Nick Radich
Sr. Programmer/Analyst
EPC Molding, Inc.
Direct (320) 679-6683
Toll free (800) 388-2155 ext. 6683
Fax (320) 679-4516
nick_radich@xxxxxxxxxxxxxx
Mike Cunningham <mike.cunningham@xxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
11/24/2009 10:54 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
To
"'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
cc
Subject
RE: Checking for the number of records in a file
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.