|
Lemme try that agian, find fbtest/* -name '*' > /fbtest/authinfo creates the file in the fbtest directory but no auth info is in the file, how is that done? -----Original Message----- From: michaelrtr@xxxxxxxxx To: midrange-l@xxxxxxxxxxxx Sent: Fri, 22 Sep 2006 11:28 AM Subject: Re: DSPAUT Using the redirection technique below it will create a file in the IFS automatically. On 9/22/06, fbocch2595@xxxxxxx <fbocch2595@xxxxxxx> wrote:
Ok, you have to create the myfile on the AS400, it doesn't create automatically? -----Original Message----- From: michaelrtr@xxxxxxxxx To: midrange-l@xxxxxxxxxxxx Sent: Fri, 22 Sep 2006 10:58 AM Subject: Re: DSPAUT find fbtest/* -name '*' > /mydir/myfile These are essentially UNIX commands...there's a QSH reference in the Info Center. On 9/22/06, fbocch2595@xxxxxxx <fbocch2595@xxxxxxx> wrote:Ok, I have found the find command by typing it. I like to use help togetinfo about the cmd but there is no help for find when I type help. When I enter this; find fbtest/* -name '*' I get the list of files in dir fbtest. But what would the next commandbeto output the auth info to a file? Thanks -----Original Message----- From: BDietz@xxxxxxxxxx To: midrange-l@xxxxxxxxxxxx Sent: Thu, 21 Sep 2006 12:59 PM Subject: Re: DSPAUT So you are saying that if you type in QSH at the command line and typein"find" you get an error?? If so then you may have problems. What OS version? do you have Qshell installed: Resource ID Option Feature Description 5722SS1 30 5050 Qshell _____________________________ Bryan Dietz Aktion Associates "i want an i" midrange-l-bounces@xxxxxxxxxxxx wrote on 09/21/2006 12:18:23 PM: -> I don't understand this. There's no find command in qsh. -> -> -> -----Original Message----- -> -> you could create a small QSH shell script and put : -> -> -> for autfil in $(find aib/* -name '*'); -> do system "dspaut obj('"$autfil"') output(*print)"; -> done -> -> in there -> -> then submit it -> SBMJOB CMD(QSH CMD('/home/shellscript.sh')) -> -> you'll end up with one spool file with the results -> -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. ________________________________________________________________________ Check out the new AOL. Most comprehensive set of free safety andsecuritytools, free access to millions of high-quality videos from across theweb,free AOL Mail and more. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.-- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. ________________________________________________________________________ Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-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.