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



Thank you,

the CLASSPATH is set correct.

I found my Problem, but I don't know how I can define it correctly.

In my RPG I defined the Java Procedure like this

D*---------------------------------------------------------
D ConcatPDF PR EXTPROC(*JAVA : 'CONCATPDF'
D : 'main' )
D STATIC
D* Parameter prototype declaration for Java type: String[]
D O CLASS(*JAVA :
'java.lang.String' )
D DIM(50)
D CONST

The Java Routine uses String args[] so I can use 3 to max 50 Elemente
(PDF) in
the Array, but in my RPG I must define the max Value (DIM(50)).

If I have 4 Elements and I define DIM(4) in RPG the Java Routine works
fine.

Is it possible in RPG to define a variable number of Array Elements ?

Burkhard Quindt
Zapf GmbH


ZAPF GmbH
Nuernberger Strasse 38 - 95448 Bayreuth - Telefon (09 21) 6 01-0 - Telefax (09 21) 6 01-6 77
Sitz der Gesellschaft: Bayreuth - Registergericht: AG Bayreuth HRB 3204
Geschaeftsfuehrer: Dipl. Ing. (FH) Roman Fehling - Emmanuel Thomas
info@xxxxxxxxxxxx - www.zapf-gmbh.de


RECHTSHINWEIS | Diese E-Mail enthaelt vertrauliche und/oder rechtlich
geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die
unbefugte Weitergabe dieser Mail ist nicht gestattet.

LEGAL NOTICE | This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient (or have received this
e-mail in error) please notify the sender immediately and destroy this
e-mail. Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.

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.