I have this command in my perl script
system ("/opt/oracle/product/10.2
/bin/sqlpl
us"," data/DATA@G01", "@/export/home/user/Mappin
g.sql")
But when I run this in the script by setting up this script in autosys it fails giving an error bad file number.
But if I run /opt/oracle/product/10.2/b
in/sqlplus
data/DATA@G01 @/export/home/user/Mapping
.sql on the console works fine. Please advise.
Start Free Trial