|
Scot, Thank you for the example, but I still get the same error with your code. Going back to my original code, it will run ls, but won't run something like touch. The touch utility does pass the QzshCheckShellCommand check. I am trying to pass something like: touch -C 00817 /tmp/test.txt I get back the return code x'00000007', which should be b'00000000000000000000000000000111' Thanks for any ideas, David Morris >>> klemscot@klements.com 04/05/02 16:01 PM >>> So, I put together an RPG program that works (more or less) the same way as the sample C program from the Info Center manuals. While the program itself isn't terribly useful (it does an ls, which would be better done with the opendir() and readdir() APIs) it's good as an example of how to execute a QSHELL command from RPG...
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.