Thanks Jim, I removed the headers from the variant and used the proc you provided with the arguments along with hciX12buildinterchange. I started getting a different error “invalid command name X12lib::buildISA isa_array”.
[xlt :xlat:ERR /0:recondo_adt_xlate:–/–/—- –:–:–] result = ”
[xlt :xlat:ERR /0:recondo_adt_xlate:–/–/—- –:–:–] errorInfo: ‘
[xlt :xlat:ERR /0:recondo_adt_xlate:–/–/—- –:–:–] invalid command name “X12lib::buildISA”
[xlt :xlat:ERR /0:recondo_adt_xlate:–/–/—- –:–:–] while executing
[xlt :xlat:ERR /0:recondo_adt_xlate:–/–/—- –:–:–] “X12lib::buildISA isa_array”
[xlt :xlat:ERR /0:recondo_adt_xlate:–/–/—- –:–:–] (procedure “tps_x12_put_envelope_userdata” line 405)
[xlt :xlat:ERR /0:recondo_adt_xlate:–/–/—- –:–:–] invoked from within
[xlt :xlat:ERR /0:recondo_adt_xlate:–/–/—- –:–:–] “tps_x12_put_envelope_userdata {MSGID message0} {CONTEXT xlt_post} {ARGS {{DEBUG N}
[xlt :xlat:ERR /0:recondo_adt_xlate:–/–/—- –:–:–] {SEPCHARS {{FIELD *} {COMPONENT /} {SEGMENT ~}}}
The package X12lib exist but it is not recognizing it somehow. As a work around, I moved the proc X12lib.tcl to tclprocs folder and did mktclindex and that solved my issue.
I still need to find out why it wouldn’t run under /cloverleaf/cis6.2/integrator/tcl/lib/X12lib
Thanks again to Jim for helping with the proc and directions.