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



I'm about to tear my hair out.

There are 2 fields not printing on an output line. First a bit of
background.

Warehouse employees scan a barcode and enter a quantity. This gets
captured to a raw scans file. The quantity will be something like "5.2"
meaning 5 cases and 2 units. In my program, I parse this into 2 packed
fields:

ITMCS = 5
ITMUN = 2

I print a report, the detail line has both the above fields along with
others. But these 2 fields do not print. Edit code is J meaning zero
balances print.

First I thought I was overlaying with other fields, but I'm not. This is
how far I went:

- I removed every field from the output line except these 2
- entered debug and stepped through
- the following are consecutive statements in the program

// Print it
Exsr OverFlow;
EXCEPT ITMPRT;

// Print any errors
Exsr EditRtn;

// Output
WRITE PICNTREC;

- I viewed both fields before each of the statements, stepping one by one
- even the statements in EditRtn
- both fields have the correct value at all times
- the printed line, ITMPRT, has nothing
- the file with record format PICNTREC has these 2 fields and they are
correct in the file

I cannot figure out why they would be blank on the printout. No indicator
used to condition that output. Other than compiler bug or something so
stupid that I cannot see it.

What am I missing and thanks.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.