as I'm coding, I'm getting the following error:

  install_content.ksh: line 1273: _dinstall_content.ksh: line 1273: 
_dinstall_content.ksh: line 12: parameter not set

turns out the section of code I copied from one file to this one, the db_conn 
string was named differently then what I had made here.  So with the wrong name 
I would expect the above error.

  SQL="
    SET ECHO OFF SERVEROUTPUT ON
    WHENEVER SQLERROR EXIT 1
    WHENEVER OSERROR EXIT 2

    -- ---------- ---------- ----------
    CONNECT ${db_conn}
…
  "

Is there a way to get a more useful error message?  A trap maybe?  Also, the 
line SQL=" is line 545 in my physical file, yet with all the sourcing it comes 
out to be 1273 (or line 12) in the error message.  How can I get a more precise 
line number?

Thanks
Eric
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to