× 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 Scott, actually, I'm not able to get this pgm to work;
CRTPF QTEMP/TEST RCDLEN(100)
    OVRDBF FILE(STDOUT) TOFILE(QTEMP/TEST)
    QSH CMD('echo Test Test Test')

I ran all the commands manually and when I run the QSH command; QSH CMD('LS -C /PROGRAMMINGARCHIVE/* > /QSYS.LIB/QTEMP.LIB/test.FILE/test .MBR') I get msg, Command ended normally with exit status 2.

Like Scott said in his reply, you can't use redirection (i.e. echo 'hhh'> somefile.txt) You have to use OVRDBF, exactly like the first 3 commands above. Eliminate the redirection in your bottom QSH and let OVRDBF take care of it.
  --buck

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.