× 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.



Could be you are not obtaining all rows due to timing. Are you declaring the cursor dynamic?

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Hoteltravelfundotcom
Sent: Thursday, November 20, 2014 5:56 AM
To: Midrange Systems Technical Discussion
Subject: Is this a case of record locks?

I have written a view that is based on a RPG program, written as RPG400, the sql code mimicing what the prgram does. I can provide any sources if needed.

The prgram/sql displays counts of orders that have been shipped today or on hold, or in various manufacuring stages etc.

so it would show something like this:

TS SAM ENGRVNG QTY 76
TS SAM ENGRVNG QTY 1497
TS SAM LASER CNT 60
TS SAM LASER QTY 242
TS SAM ASSMBLY CNT 177
TS SAM ASSMBLY QTY 3633
TS SAM PCKNG CNT 148
TS SAM PCKNG QTY 3646
TS SAM SHPNG CNT 0
TS SAM SHPNG QTY 0
TS SAM HOLD CNT 26
TS SAM HOLD QTY 2716

Some of the numbers I get are slightly higher than the RPG prgram shows but later in the evening at the point where work stops on the floor, the numbers become equal. And some are always spot on.

One reason is somewhere my code differs but also could it be a case of record locked?

Does the RPG program have a different sort of access to the records? I am just trying to eliminate this possibility.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.