Changes between Initial Version and Version 1 of Ticket #209
- Timestamp:
- 04/27/2020 10:48:53 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #209 – Description
initial v1 1 1 When you invoke ed_installation_parms >sc1>installation_parms in a new process, you get the error: 2 2 3 {{{ 3 4 ed_installation_parms: Name duplication. rate_structure_0 >sc1>installation_parms. 5 }}} 4 6 5 7 This error occurs because the error code checking logic is inadequate. … … 7 9 After parsing arguments, it calls: 8 10 11 {{{ 9 12 call hcs_$make_seg (dn, en, "", RW_ACCESS_BIN, rsp1, ec); 13 }}} 10 14 11 15 In 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: 12 16 17 {{{ 13 18 call com_err_ (ec, me, "rate_structure_^d ^a.", i, dnvar || rtrim (en)); 14 19 go to exit; 20 }}} 15 21 16 22 So 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.
