|
William, what is needed here is path to program (perl), which executes perl scripts. Perl scripts aren't programs alone, they must be read by something, and each statement must be executed by something. This something is perl. Actual path to include to into script depends on your configuartion. Perl binary is in library QSYS/PERLDIST (or whatever name you used), but there should be so called "link" to this program. You can execute link as any other program if it it linked to program. On my AS/400 I have link called perl showing to perl program placed in directory /usr/bin. After this explanation I must say that I'm not sure, if the line with path to perl is absolutly necessary on AS/400. It is on Linux if you want to run perl script just by typing its name. Otherwise you can write perl <name_of_script>. You can try it on AS/400 in QSH. Lukas Rampa ---------------------------------------------------------------------- Aimtec a.s. Tel.: +420197225215 http://www.aimtec.cz Fax: +420197221732 Halkova 32 Lukas.Rampa@aimtec.cz 301 22 Plzen Czech Republic +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.