|
Buck wrote: > You don't need QShell in order to create a directory. You can use the > OS/400 command: > MKDIR '/buck/x'. True enough, I realize, but I then need to 'cp -r /olddirectory /newdirectory', something for which I have found no native command. > If you must use QSH for some reason or another, try the CMD parameter: > QSH CMD('mkdir /buck/x'). BTDT... > If you do something that creates standard output, re-direct it to a file and > you won't get the 'close this window' prompt: > ovrdbf stdout qtemp/x > QSH CMD('mkdir /buck/x; ls -al /buck; rmdir /buck/x') > dsppfm qtemp/x Unfortunately I'm not creating stdout, I'm copying directory contents. I'm not sure overriding stdout would help me in this case. > Hope some of this was helpful. > --buck I appreciate the input, just not sure it will get me where I need to be. And naturally, at this point it is a matter of pride to figure out how to make the API work ;-) Thanks, Joel http://www.rpgnext.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.