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



We resolved the issue last week but to further explain....

A "standard" library list would not work. Using CL to issue overrides
would not work - not allowed. Client only uses CL in our "true" batch
processes. The file I'm converting from and the file I'm converting to
are the same file except versioned. We've added a few new fields and
reformatted another for our next release. I couldn't simply cpyf w/ map
drop because we need some "special" formatting for one of the fields
that changed from 2.0 signed to 5 alpha.

Thanks,

S. Ellsberry


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Monday, April 23, 2007 11: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.