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



Tomek,

You can attach a data queue to a display file with CHGDSPF DTAQ(). When the user presses enter on the display file the screen fields are also sent to the data queue. You can then review the data queue to see what was keyed.

Paul

Principal Programmer Analyst
IS Supply Chain/Replenishment


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tomasz Skorza
Sent: Tuesday, December 28, 2010 5:26 AM
To: midrange-l@xxxxxxxxxxxx
Subject: How to capture unrepeatable error?

Hi

Could you prompt me a little how can I resolve my problem?

I have some program which calculate a cost of transport - usually it's works perfectly, to simplify
program write to two files - general ledger and item ledger. In general ledger amount is always
corect, but in item ledger from time to time amount is completely wrong - though the same amount in
general ledger is still correct. When I test it and debug, I always get correct results. And when I
talk with users - they always sad "I enter correct values on the screen". But errors as were still
coming from time to time.
This is an interactive program.
So my question is - how to in simply way get two things:
1) how to save all screen's fields every time when user pres enter or other function keys? the best
- in separately file with time stamp
2) how to save all variables from program in the "write_line_to_item_ledger" moment? I can of course
prepare separately file but I would like to do it using one separately command/program - without
change program to much.

Have you any idea?

Regards

Tomek


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.