|
Look into QP2SHELL - no terminal. Or QP2RUNPASE - not sure what the difference is there - different parameters, I see, tho'. -------------- Original message -------------- > You should redirect the error messages to a file. > Since a normal scp connection does not produce unwanted messages, > you redirect only stderr by using the following syntax: > > scp [options] source destination 2> error.log > > > Shalom Carmel > ------------- > www.venera.com - Exposing iSeries insecurity > > > > ----- Original Message ----- > > date: Thu, 1 Sep 2005 08:20:57 -0700 > > from: Mark Keller > > subject: Pase environment from a batch cl > > > > Hello. I'm trying to automate an SCP connection using the PASE environment. > > My problem is that I do not want the terminal to ever come up. I would > > rather log any messages to a file or catch them in my program. When I have > > a file to receive, this works great. The transfer is completed entirely in > > batch. But if the file I'm trying to transfer does not exist, then I have > > the terminal window pop up with an error message, requiring user > > intervention. > > > > Any suggestions or tips for me? > > > > Thanks! > > Mark > > > > > > -- > 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.