Rocket U2 | UniVerse & UniData

 View Only
  • 1.  UOLOGIN Error Message

    Posted 03-28-2023 10:50
    Edited by David Rivera 03-28-2023 16:58

    Any idea what this message means?

    In /data/pub/TEST/SMART/LIVE/CTLG/UOLOGIN at line 56 index: 201 to one dimension                                                                                                                                                              matrix is out of range
    lobal HScript=`Set BackPages="18"`
    lobal HScript=`Set Columns="132"`
    xecute HScript



    ------------------------------
    David Rivera
    ------------------------------



  • 2.  RE: UOLOGIN Error Message

    ROCKETEER
    Posted 03-28-2023 12:01

    David,

    What this means is that the program is trying to reference a position that is outside of the dimensioned size of the array. If you look at the example below at line 2 I try to reference element 201 of ARRAY1 but it is only dimensioned to 10. I would suggest reviewing the UOLOGIN program to see why it is trying to reference an array element larger than what is was dimensioned for.

    AE BP TEST45
    Top of "TEST45" in "BP", 3 lines, 34 characters.
    *--: P
    001: DIM ARRAY1(10)
    002: CRT ARRAY1(201)
    003: END
    Bottom.
    *--: FIBR
    Filed "TEST45" in file "BP" unchanged.

    Compiling Unibasic: BP\TEST45 in mode 'u'.
    compilation finished
    In BP\_TEST45 at line 2 index: 201 to one dimension matrix is out of range
    :



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------



  • 3.  RE: UOLOGIN Error Message

    Posted 03-28-2023 12:10
    Edited by David Rivera 03-28-2023 16:58

    My understanding is that UOLOGIN is a system program that we do not have the source code for. This is a compiled program that is globally catalogued.



    ------------------------------
    David Rivera
    ------------------------------



  • 4.  RE: UOLOGIN Error Message

    ROCKETEER
    Posted 03-28-2023 12:21

    David,

    The UOLOGIN is globally catalogued, however the program is not supplied with UniData as standard only the functionatily to use it. It is a special name for subroutine that when used will interface with a UniObjects session when it logs in.

    So whoever supplies your application or developed your application would have wrote the UOLOGIN subroutine.

    A template example is provided in the documentation but the code would have to be written and it would not have been written by Rocket.

    Regards,



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------