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



Mike,

1) Are you sure Lawson doesn't have an exit point you can tap to do your
own PO Print processing? I assume this is Lawson since you're the
"Lawson Admin" per your signature.

2) Why not put a trigger on the PO work file. Whenever Lawson drops a
new row in there write that PO number to a data queue. Then have a batch
job that simply waits for new PO numbers in the queue and prints them
the way you want them printed. No fancy footwork, no QTEMP.

-Walden 


------------
Walden H Leverich III
President & CEO
Tech Software
(516) 627-3800 x11
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com 

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)
 
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Wills
Sent: Monday, 13 September, 2004 11:20
To: Midrange_RPG400_L
Subject: Seeking adivce

I am looking for adivce on a better way to do a program. What I have
is a vendor application that prints a PO. We didn't like that PO and
because of how complicated it was, I just wrote a new program to print
the PO how we wanted it. This vendor program had a work file that put
the PO number and some information like that into it. I made a copy of
that file and renamed it and put the exact same information into my
file (the vendor code puts the information into a new member in the
file then deletes the memeber when it is done processing) so it
doesn't get deleted. I did some fancy footwork to put my file in QTEMP
so that more than one person can use this program at once. However,
once in a blue moon, somehow a person gets other people's POs that
they are printing. We have never been able to duplicate that.

My question is this, is this the best way? Is there a better way? All
I truely care about getting is the PO number(s) that they are printing
so I can pass this information to my program (there could be 1 or
there could be 1000 or more, in theory). I am basically looking for
some ideas on how to make this better so we don't have this problem I
described above.

-- 
Mike Wills
iSeries Programmer/Lawson Administrator
koldark@xxxxxxxxx
http://www.koldark.net
Want Gmail? Email koldark+gmail@xxxxxxxxx to get on my waiting list.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



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.