|
Adele, Buck posted this in another thread today, and I am thinking that it should work for Java too. Let me know what you find out if you try this method because it would be useful to the rest of us doing Java with RPG. Aaron Bartell -----Original Message----- From: Buck [mailto:buck.calabro@xxxxxxxxxxxx] Sent: Wednesday, September 03, 2003 1:38 PM To: rpg400-l@xxxxxxxxxxxx Subject: Re: QzshSystem API > Unfortunately I need to get this done, so > I guess I'll have to try to issue the command > the old fashioned way with system or QCMDEXC. You don't need QShell in order to create a directory. You can use the OS/400 command: MKDIR '/buck/x'. If you must use QSH for some reason or another, try the CMD parameter: QSH CMD('mkdir /buck/x'). 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 Hope some of this was helpful. --buck _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.