Rocket U2 | UniVerse & UniData

 View Only
  • 1.  Unidata - why does COPY do this?

    Posted 05-28-2021 12:33
    When copying an item with a "!" in the key, COPY breaks on the "!" as if it's a delimiter between multiple items.  Why?  Can this be overridden somehow?

    TEST>COPY LIVE.PN.PREFIX 001!PHI

    TO: (PN.PREFIX
    001 is not in file LIVE.PN.PREFIX
    !PHI is not in file LIVE.PN.PREFIX
    0 records copied

    ------------------------------
    Kevin King
    President
    Precision Solutions, Inc.
    ------------------------------


  • 2.  RE: Unidata - why does COPY do this?

    ROCKETEER
    Posted 05-28-2021 12:58
    Kevin,

    It appears to be something with the parsing, not sure if this goes back to how it was originally on early PICK.

    I did a quick check in UniData, if you put it in quotes, it will work

    :ECLTYPE P
    :COPY BP "001!PHI"
    TO: (VOC
    1 records copied
    :


    ------------------------------
    Michael Rajkowski
    Rocket Software
    ------------------------------



  • 3.  RE: Unidata - why does COPY do this?

    Posted 05-30-2021 23:03
    Thank you sir.  Now I just have to remember to quote that!  Old dog, new tricks, all that. :-)

    ------------------------------
    Kevin King
    President
    Precision Solutions, Inc.
    ------------------------------



  • 4.  RE: Unidata - why does COPY do this?

    Posted 06-04-2021 12:55
    Think of it as the same as a space in something you are looking for...quotes always help clarify :)

    ------------------------------
    kathleen hambrick
    w c earhart
    ------------------------------