Sorry,
I'm wrong, please ignore. (I had a problem in the last ksh script in the
chain)
Jay
----- Original Message -----
From: "Jay Strauss" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 10:36 AM
Subject: Flushing buffer - part 2
> I'm still working on this perl program that will dump a bunch of data
> produced by a script. Last week Jeff N. gave me this (essentially):
>
> remote_exp
> ------------
> open(SCRIPTINPUT, "./remote_exp.ksh $sourceHost .$arg{programName}
> $DBAUserID
> $DBAPassword $arg{tables} $rows $SID|" ) or die "could not start
> remote_exp";
> print while <SCRIPTINPUT>;
> close SCRIPTINPUT;
>
> It works fine if I call it from the command line. But if I call this
script
> from another script like:
>
> Caller
> ------
> my $stuff = qx[remote_exp fdba=$arg{fromDBAConnectString} tables=$tables
> rows=n]
>
> It hangs. I don't understand why. I'd like to redirect ">" the output to
a
> file like:
>
> my $stuff = qx[remote_exp fdba=$arg{fromDBAConnectString} tables=$tables
> rows=n > output]
>
> But I can't get past the hang.
>
> Jay Strauss
> [EMAIL PROTECTED]
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com