× 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.



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 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.