× 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
What PCML is  and how it works.


LuisClaudio@ipad

On 30 de Jul de 2010, at 15:59, David Gibbs <david@xxxxxxxxxxxx> wrote:

Luis Fernandes wrote:
My question is : Sometimes the program need to receive parameters, and i
need to pass this parameters to run the program correctly, but in the most
time i dont know if the program need parameters or not and what kind or type
of data they need. What is the way to check if a program need parameters or
not and what datatype i need to pass.

If you don't know if the program takes parameters or not ... or the number & type of parameters ... how can you logically invoke the program at all?

You'll need to find out, from the developers of the program, what parameters it needs.

i looking also for a way to find program and they full path in the iseries
only using their name, there is any way to find them in the system ?
something like a search in the windows.

You could theoretically search the entire /QSYS.LIB IFS space for the program ... but that would take a massive amount of time.

Keep in mind the program could exist in multiple libraries on a single system.

BTW: I suggest using PCML to make program calls instead of ProgramCall objects. Much easier to work with.

david

--
IBM i on Power Systems - For when you can't afford to be out of business
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


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.