Skip to main content
Apr 8, 2022 5:14 PM UTC
Question

Programmatic interpretation of correlative lines

for the I-Types, there is a command to run so a program can have access to the data as it's interpreted by the I-TYPE.  What I don't seem to be able to find is something that could do the same for the correlative field 8 in S-type dictionaries in particular for the A; notation for algebraic style.  we have lots of classic dictionaries and it would be helpful to be able to programmatically interpret.

normal conversion, and Trans type correlatives OCONV just fine, but when its a referencing other dictionary items, doesn't seem to work


Anyone tried this before?

    2 replies

    Jonathan Smith
    Rocketeer
    Apr 11, 2022 4:14 AM UTC
    for the I-Types, there is a command to run so a program can have access to the data as it's interpreted by the I-TYPE.  What I don't seem to be able to find is something that could do the same for the correlative field 8 in S-type dictionaries in particular for the A; notation for algebraic style.  we have lots of classic dictionaries and it would be helpful to be able to programmatically interpret.

    normal conversion, and Trans type correlatives OCONV just fine, but when its a referencing other dictionary items, doesn't seem to work


    Anyone tried this before?
    The ITYPE will only work with I or V type dictionaries in UniVerse or UniData. There is no currently no equivalent command to process 'Pick' Style dictionaries in UniBasic in the same way. The current alternative you have is to rewrite the 'Pick' Style dictionaries with conversions and correlatives in field 7 and 8 to I or V type dictionary entries. I did write a program that did an auto conversion for an SB+ customer to do this a few years ago and this would be what you need to do if you wish to use the ITYPE function in UniBasic.
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    Manu Fernandes
    Inspiring
    Apr 13, 2022 11:41 AM UTC
    for the I-Types, there is a command to run so a program can have access to the data as it's interpreted by the I-TYPE.  What I don't seem to be able to find is something that could do the same for the correlative field 8 in S-type dictionaries in particular for the A; notation for algebraic style.  we have lots of classic dictionaries and it would be helpful to be able to programmatically interpret.

    normal conversion, and Trans type correlatives OCONV just fine, but when its a referencing other dictionary items, doesn't seem to work


    Anyone tried this before?
    Hi Andrew,

    25 years ago I write a pick-BASIC to evaluate F-correlative.
    I share it as attached then you can use and inspire yourself to implement A-correlative evaluation. 

    When I switch to UV, I use the provided tool to convert our pick-style dict to D/I style dict. 

    I hope this help. 
    manu