×
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.
As long as the file names, etc are the same in both data libraries you
shouldn't have a problem
Thanks,
Tommy Holden
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[
mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Monday, April 23, 2007 10:37 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Dynamic SQL using Parameter Markers
How do you handle it with F spec files? Most people set up a library
list
before calling the program. We too, process multiple companies. People
working for one company don't often cross the line. So a typical
(simplified for this example) library list may look like.
CMP01DATA
CMP01PGM
CORPWIDEPG
VENDORPGM
QGPL
QTEMP
Company 02 may look like:
CMP02DATA
CMP02PGM
CORPWIDEPG
VENDORPGM
QGPL
QTEMP
And if your custom SQL program is in CORPWIDEPG then you should have no
issue. Do not use a parameter marker for the file name. Just assume
the
library list is right. After all, that is what you would do for your F
spec files, eh?
Would this work for you?
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.