Perhaps environment variables.

Tim.

On Mon, Dec 31, 2001 at 07:53:55AM -0500, John Menke wrote:
> Dan,  I have attached the code.  What is strange is that I 
> CAN execute the script without errors using a program called 
> PsExec.  This program is designed to run programs on remote 
> computers.  If I trigger running the script with the PsExec 
> it works fine.  When I run from the command line on the local 
> computer it gives the RE: DBD-ERROR: OCIServerAttach -> ORA-12514.
>  
> Not sure what the difference is.  
> 
> Here is the code:
> 
> %attr = (
> 
> PrintError => 1,
> RaiseError => 1
> );
> 
> 
> eval {
>  $dbh = DBI->connect ("dbi:Oracle:$datasourcename", "user", "password", \%attr);
> };
> 
> 
> > 
> > 
> > 
> > 
> > > Hi John
> > > 
> > > Can you provide a code snippet?
> > > 
> > > Dan
> > > 
> > 

Reply via email to