Scripting FNDLOAD commands
I am trying to script the process to download and upload Oracle Report Manager templates. When I copy and paste this line into a Linux command line, it works correctly and the file downloaded is 4716 bytes and it works.
FNDLOAD apps/xxxxx 0 Y DOWNLOAD $XDO_TOP/patch/115/import/xdotmpl.lct TEST-BS_center_13_month_trending_XLSX.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=SQLGL DATA_SOURCE_CODE=RGRARG TMPL_APP_SHORT_NAME SQLGL TEMPLATE_CODE=TEST-BS_center_13_month_trending_XLSX
When I save the command in a .sh file and execute it on the command line, the file downloaded is always 4280 bytes and it does NOT work in the next set of commands....the file cannot be uploaded to the target database.