|
Hi, I wonder if some could help me? I can't get a Perl script to run. I would like to know where a person is supposed to put the perl script file on an AS/400 in order for the CL program mentioned to work? ftp://ftp.plig.org/pub/CPAN//ports/as400/README.TXT I tried putting it in /Perl5/qcsrc but that didn't seem to work. I haven't had any experience working with perl on the 400. All the other instructions seem to be really great. The error I am getting is: "Can't open perl script "/QOPENSYS/DYNDS.PL" No such path or directory" Is there a special command to get it into QopenSys? I loaded Perl on the 400. I ran: RSTOBJ OBJ(*ALL) SAVLIB(PERL5) DEV(*SAVF) SAVF(PERL5/PERLSRC) RSTOBJ OBJ(*ALL) SAVLIB(PERL5) DEV(*SAVF)SAVF(PERL5/PERLRISC) I'm on a RISC machine. I added PERL5 to my library list. I ran: CRTDIR '/QopenSys/usr' CRTDIR '/QopenSys/usr/local' CRTDIR '/QopenSys/usr/local/lib' RST DEV('/QSYS.LIB/PERL5.LIB/PERLLIB.FILE') + OBJ('/qopensys/usr/local/lib/*' *INCLUDE *SAME) I created a program: PGM CALL PGM(PERL5/PERL) PARM('/QOpenSys/DYNDS.pl') ENDPGM I'd also like to know how I could make this run every time the 400 dials out to my ISP. Thank you for any help you can give me. Gary Kuznitz +--- | 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.