× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jim,
You need to specify a File Information Data Structure for your file.
In the INFDS, pos 156 - 159 contains your record count.
F File E K Disk INFDS(File_Ds)
D File_Ds DS
D Nbrrcd 10I 0 overlay(file_Ds : 156)



Jeff Young
Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2
IBM Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3









----- Original Message ----
From: Jim Waymire <jwaymire@xxxxxxxxxxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Sent: Friday, December 7, 2007 5:59:47 PM
Subject: Retrieving # of Records in RPG

I would like to have the # of records in a file that is being processed,
thought the program data structure would return this. I know I can get it
in a cl, but prefer not to use cl's.

When I run with debug, here is the value that is being returned from the
program data structure. Any ideas what this represents? The actual number
of the file being read is 17,038.

Jim Waymire
Tallyho Systems, Inc.


NBRRCD = 1077952576

D sds
D errmsg 91 170
D userid 254 263
D date 276 281
D pgmid 324 333
D rtime 282 287 0
D nbrrcd 156 159i 0


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.