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

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.