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



Hi all,



Since a couple of weeks I'm using the JDBCR4 toolset of Scott Klement to
receive record sets from SQL Server and Oracle in RPG.

Now I have to call a function AACREATEPALLET (see below) in Oracle.

- What statements do I have to execute, using place holders ?

- How can I pass a "null" value to a JDBC_Setxxx statement ?

- How can I handle the return value ?



Many Thanks,

Tom

---------------------------------------------------------------

FUNCTION AACreatePallet(vcMethode IN VARCHAR2,

vcLocation IN VARCHAR2,

vcPalletBarcode IN VARCHAR2,

vcContentsBarcode IN VARCHAR2,

vcArtnr IN VARCHAR2,

vcLotnr IN VARCHAR2,

dtProduction IN DATE,

nQuantity IN NUMBER,

vcStockStat IN VARCHAR2,

vcContainerType IN VARCHAR2 := NULL,

vcOrderNr IN VARCHAR2,

vcOrderLineNr IN VARCHAR2,

vcReason IN VARCHAR2,

vcRestPalletIndicator IN VARCHAR2,

vcInputGroup IN VARCHAR2,

vcCrossDock IN VARCHAR2 := 'N',

vcProjectnumber IN VARCHAR2,

vcVariant IN VARCHAR2,

vcRotation IN VARCHAR2,

vcSupplier IN VARCHAR2,

vcProductionAvailable IN VARCHAR2,

vcProductionMethod IN VARCHAR2,

vcStockOwner IN VARCHAR2:= NULL,

vcPriority IN VARCHAR2,

vcOrigin IN VARCHAR2,

vcMultiCont IN VARCHAR2:='N',

vcLastOnMultiCont IN VARCHAR2:='N') RETURN

NUMBER





Tom Galle
UNILIN INDUSTRIES BVBA
Ooigemstraat 3
BE-8710 Wielsbeke

Tel : + 32 (0)56 67 5727

tom.galle@xxxxxxxxxx






As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.