Anu Jandhyala

Forum Replies Created

Viewing 3 replies – 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: DATECOPYOPT UseCustomDate option #66831
    Anu Jandhyala
    Participant

      Thanks, Jim.

      BTW, this is on Cloverleaf 5.5MultiByte.

      I get the best results when DATECOPYOPT is after PATHCOPY.

      My problem is: the timezone gets copied ONLY if precision is on. And with precision ON, I get “20090115120600.   0+0400″ . We do not want the portion in bold. I will try this with a tclproc.

      If you have any other ideas, do throw them my way.

      Thanks,

      Anu

      in reply to: DATECOPYOPT UseCustomDate option #66829
      Anu Jandhyala
      Participant

        Hi Jim,

        I have tested this more:

        Even with PATHCOPY, I am able to copy/modify individual fields for other types:

        PATHCOPY MSH segment

        COPY =GE –< MSH#3(0) .. etc.,

        I think there may be an issue with DATECOPYOPT or atleast it does not behave as expected.

        Tests run:

        1. PATHCOPY, DATECOPYOPT;Add Precision off; UseCustomTime (with timezone specified)

        Result: Date is copied as is, does not show timezone; In my example: 20081027141230

        Expected Result: 20081027141230+0330  —-> this is what we need for this situation

        2. PATHCOPY, DATECOPYOPT;Add Precision On; UseCustomTime..(same as above)

        Result: 20081027141230.   0+0330

        Expected Result: 20081027141230+0330 (since seconds were specified)

        Also, if DATECOPYOPT was placed before PATHCOPY, I guess the latter overwrote DATECOPY settings, so add precision did not help at all.

        in reply to: DATECOPYOPT UseCustomDate option #66827
        Anu Jandhyala
        Participant

          I am using a PATHCOPY

        Viewing 3 replies – 1 through 3 (of 3 total)