Changes between Initial Version and Version 1 of Ticket #209


Ignore:
Timestamp:
04/27/2020 10:48:53 AM (6 years ago)
Author:
Eric Swenson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #209 – Description

    initial v1  
    11When you invoke ed_installation_parms >sc1>installation_parms in a new process, you get the error:
    22
     3{{{
    34ed_installation_parms: Name duplication. rate_structure_0 >sc1>installation_parms.
     5}}}
    46
    57This error occurs because the error code checking logic is inadequate.
     
    79After parsing arguments, it calls:
    810 
     11{{{
    912call hcs_$make_seg (dn, en, "", RW_ACCESS_BIN, rsp1, ec);
     13}}}
    1014 
    1115In the normal case, where the parameter was >sc1>installation_parms, and where that segment exists, ec will be error_table_$namedup  ("Name duplication.").  The code handles two cases:  ec = 0 and ec = error_table_$segknown. ec is neither of these, so we fall through to:
    1216 
     17{{{
    1318                         call com_err_ (ec, me, "rate_structure_^d ^a.", i, dnvar || rtrim (en));
    1419                         go to exit;
     20}}}
    1521 
    1622So that’s why we fail.  This is a stupid way of doing it.  Of course, when we exit with this error, we still have >sc1>installation_parms initiated (not cleaned up), so the second invocation results in ec being error_table_$segknown and things work better.