i am creating a shell script to generate a file format. i want to register each and every activity in the log file.
here are the commands which i have given, Don't know why i am getting error.
v_log_loc="$APPLCSF/log"; export v_log_loc
v_logfile=${p_po_requestid}_LOG; export v_logfile
i am using v_logfile=${p_po_requestid}_LOG so that my log file generated based on requestid passed. like if i pass 123 then my log file name will be 123_LOG.
thanks for reply. i am attaching my script which may have some minor issues. please suggest.
I have changed the same but i don't know the different b/w 2? do you know?
also log file is getting created but my sqlplus connection is failing. I have already attached the script in question. please suggest if i am missing something.