Skip to main content
KathleenHambrick
Participating Frequently
Apr 5, 2022 9:38 AM UTC

Unidata to Universe differences

Hi - I am switching back from 20 years of Unidata, to Universe....can't remember all the differences but I'm sure I will pick it back up quickly. One thing I just tried and couldn't do...editing mv and smv lines with the EV (edit values) command.... can someone pop off the command to edit values in the line editor on Universe?

Thanks!



------------------------------
Kathleen Hambrick
Programmer at Colwell
------------------------------

    23 replies

    Jonathan Smith
    Rocketeer
    Apr 5, 2022 12:02 PM UTC
    I assumed it was delivered unidata functionality, as well.

    Makes me wonder if this is an extension of some sort added by Datatel/Ellucian.  Here's an example of how it works:


    The list can now be navigated/edited as if they were attributes. Then enter Q/FI when done.

    'EV' is used for value ​marks, and 'SV' is for sub-value marks.

    ------------------------------
    Shawn Waldie
    enterprise application developer
    Rocket Forum Shared Account
    Los Angeles CA US
    ------------------------------
    Good Catch Shawn, I didn't check to see EV was a command within AE. it does look useful.

    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    Jonathan Smith
    Rocketeer
    Apr 5, 2022 12:03 PM UTC
    I assumed it was delivered unidata functionality, as well.

    Makes me wonder if this is an extension of some sort added by Datatel/Ellucian.  Here's an example of how it works:


    The list can now be navigated/edited as if they were attributes. Then enter Q/FI when done.

    'EV' is used for value ​marks, and 'SV' is for sub-value marks.

    ------------------------------
    Shawn Waldie
    enterprise application developer
    Rocket Forum Shared Account
    Los Angeles CA US
    ------------------------------
    :AE CUSTOMER 1
    Top of "1" in "CUSTOMER", 3 lines, 17 characters.
    *--: HELP EV

    Concept: value.edits (ve)

    Commands: ListValues (LV), KeepValues (KV), ListKeptValues (LKV),
    InsertValue (IV), ReplaceValue (RV), DeleteValue (DV),
    EditValues (EV), EditSubValues (ESV), ChangetoValues (CV),
    ChangetoWords (CW)

    ListValues: lists values on current line, using value-mark as delimiter.
    KeepValues: keeps values on current line in special @values, @kv1-@kv999.
    ListKeptValues: lists contents of @words or reports that KeepValues has
    not been used yet.
    InsertValue: places a value before other values in the line, using a
    number; can insert subvalues also.
    ReplaceValue: replaces a value with another value; can replace
    subvalues also.
    DeleteValue: deletes a value; can delete subvalues also.


    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    KathleenHambrick
    Participating Frequently
    Apr 5, 2022 12:10 PM UTC
    I assumed it was delivered unidata functionality, as well.

    Makes me wonder if this is an extension of some sort added by Datatel/Ellucian.  Here's an example of how it works:


    The list can now be navigated/edited as if they were attributes. Then enter Q/FI when done.

    'EV' is used for value ​marks, and 'SV' is for sub-value marks.

    ------------------------------
    Shawn Waldie
    enterprise application developer
    Rocket Forum Shared Account
    Los Angeles CA US
    ------------------------------
    Shawn - THANK YOU!! yes!

    I do remember now that we had the AE guts in the ED keyword... so I will use AE instead of ED here! Thank you for knowing what I was talking about! :)

    ------------------------------
    Kathleen Hambrick
    Programmer at Colwell
    ------------------------------
    Manu Fernandes
    Inspiring
    Apr 5, 2022 12:31 PM UTC

    Hi - I am switching back from 20 years of Unidata, to Universe....can't remember all the differences but I'm sure I will pick it back up quickly. One thing I just tried and couldn't do...editing mv and smv lines with the EV (edit values) command.... can someone pop off the command to edit values in the line editor on Universe?

    Thanks!



    ------------------------------
    Kathleen Hambrick
    Programmer at Colwell
    ------------------------------
    Hi

    If your dict are correctly defined you can have a look to REVISE verb. It allow to edit by value of field. 

    I hope this help. 



    ------------------------------
    Manu Fernandes
    ------------------------------
    KathleenHambrick
    Participating Frequently
    Apr 8, 2022 1:16 PM UTC
    We, at U2logic, write for both Universe and Unidata. The biggest difference is the native LOCATE function in the Universe database. If you use the INFORMATION version like we do when UniBasic Universe then $BASICTYPE "U" the default basic type in Unidata there will be no problem. However, if you don't all of your locates may be suspect.

    The other big deal is indexing. Universe 12.1 does not allow you to change indexes while in use which is now a big problem for our UniBasic Universe code that created indexes. This is not an issue in Unidata. We believe the next version of Universe will fix these issues we have lived with for several years.

    The @LOGNAME variable works in Unidata but not in Universe. We use this code for both: USER = @LOGNAME ; IF INDEX(USER,"\\",1) THEN USER = FIELD(USER,"\\",2) 

    The SYSTEM variables are not the same between the databases. For example IP.ADDRESS = SYSTEM(42) in Universe is IP.ADDRESS = SYSTEM(512) in Unidata.

    After a SELECT list, you might have this code in Universe MAX.VALUES = @SELECTED which will need to be MAX.VALUES = @SYSTEM.RETURN.CODE in Unidata.

    That is all I can think of off the top of my head.


    ​​

    ------------------------------
    Doug Averch
    Owner
    U2 Logic
    www.u2logic.com/tools.html
    ------------------------------
    Thank you Doug - that is very helpful! :)
    Doug Averch
    Inspiring
    Apr 8, 2022 1:20 PM UTC
    Thank you Doug - that is very helpful! :)
    Glad to be helpful. I posted this 2 days ago. Not sure what the problem what the delay was.

    ------------------------------
    Doug Averch
    Owner
    U2 Logic
    www.u2logic.com/tools.html
    ------------------------------
    Doug Averch Owner https://www.u2logic.com/
    Ian McGowan
    Participating Frequently
    Apr 11, 2022 12:15 PM UTC
    We, at U2logic, write for both Universe and Unidata. The biggest difference is the native LOCATE function in the Universe database. If you use the INFORMATION version like we do when UniBasic Universe then $BASICTYPE "U" the default basic type in Unidata there will be no problem. However, if you don't all of your locates may be suspect.

    The other big deal is indexing. Universe 12.1 does not allow you to change indexes while in use which is now a big problem for our UniBasic Universe code that created indexes. This is not an issue in Unidata. We believe the next version of Universe will fix these issues we have lived with for several years.

    The @LOGNAME variable works in Unidata but not in Universe. We use this code for both: USER = @LOGNAME ; IF INDEX(USER,"\\",1) THEN USER = FIELD(USER,"\\",2) 

    The SYSTEM variables are not the same between the databases. For example IP.ADDRESS = SYSTEM(42) in Universe is IP.ADDRESS = SYSTEM(512) in Unidata.

    After a SELECT list, you might have this code in Universe MAX.VALUES = @SELECTED which will need to be MAX.VALUES = @SYSTEM.RETURN.CODE in Unidata.

    That is all I can think of off the top of my head.


    ​​

    ------------------------------
    Doug Averch
    Owner
    U2 Logic
    www.u2logic.com/tools.html
    ------------------------------
    That's a great list!

    One other thing that used to be a problem (at least for me!) is appending null values to a multivalued list.  Not sure if this is still a difference, but always used to get me when moving code over to Universe.

    LIST='A'
    LIST<1,-1>=''
    LIST<1,-1>='C'
    CRT LIST

    In Unidata this prints A}}C.  Not sure if this difference still exists, but I still tend to do POS=DCOUNT(LIST<1>,@VM)+1  and then use an explicit variable when trying to update multiple dynamic arrays.

    ------------------------------
    Ian McGowan
    Principal Consultant
    Rocket Forum Shared Account
    ------------------------------
    KathleenHambrick
    Participating Frequently
    Apr 11, 2022 12:26 PM UTC
    That's a great list!

    One other thing that used to be a problem (at least for me!) is appending null values to a multivalued list.  Not sure if this is still a difference, but always used to get me when moving code over to Universe.

    LIST='A'
    LIST<1,-1>=''
    LIST<1,-1>='C'
    CRT LIST

    In Unidata this prints A}}C.  Not sure if this difference still exists, but I still tend to do POS=DCOUNT(LIST<1>,@VM)+1  and then use an explicit variable when trying to update multiple dynamic arrays.

    ------------------------------
    Ian McGowan
    Principal Consultant
    Rocket Forum Shared Account
    ------------------------------
    Good to know! I will keep my eye open for that one! Thanks
    David Hanson
    New Participant
    Apr 12, 2022 8:25 AM UTC
    That's a great list!

    One other thing that used to be a problem (at least for me!) is appending null values to a multivalued list.  Not sure if this is still a difference, but always used to get me when moving code over to Universe.

    LIST='A'
    LIST<1,-1>=''
    LIST<1,-1>='C'
    CRT LIST

    In Unidata this prints A}}C.  Not sure if this difference still exists, but I still tend to do POS=DCOUNT(LIST<1>,@VM)+1  and then use an explicit variable when trying to update multiple dynamic arrays.

    ------------------------------
    Ian McGowan
    Principal Consultant
    Rocket Forum Shared Account
    ------------------------------
    Just an additional note here (Unidata 8.2), that actually sped up some of our long running processes.
    We have variables that might have a few hundred thousand multi-values. Rather than use the <1,-1> methodology,
    we append the variable with an @VM and the data element. This seems to eliminate the need to traverse the entire string before appending the data. I would imagine it would work in UniVerse as well.
    LIST = LIST: @VM  : "C"        or     LIST := @VM  :"C"
    ​​​

    ------------------------------
    David Hanson
    Senior Software Engineer
    basys Inc
    Baltimore MD US
    ------------------------------
    Participating Frequently
    Apr 12, 2022 7:04 PM UTC
    Thank you Doug - that is very helpful! :)
    I did a conversion UV to UD many years ago, and IIRC, biggest problem was format of VOC entries.

    ------------------------------
    Kate Stanton
    Software Developer
    Walstan Systems
    AUCKLAND NZ
    ------------------------------