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



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


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.