• sys$ssio_*

    From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to All on Tue Nov 26 15:53:17 2024
    They are there in 9.2-2. Sort of.

    They are in various starlet include/inherit files and no link error.

    But when I try to call I get 4026:

    %SYSTEM-E-NOT_LOADED, system service or exec routine is not loaded

    What to do to load them?

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to arne@vajhoej.dk on Wed Nov 27 13:18:06 2024
    On 2024-11-26, Arne Vajh°j <arne@vajhoej.dk> wrote:
    They are there in 9.2-2. Sort of.

    They are in various starlet include/inherit files and no link error.

    But when I try to call I get 4026:

    %SYSTEM-E-NOT_LOADED, system service or exec routine is not loaded

    What to do to load them?


    If you can find the system service/executive image name, can you use
    SYSMAN to load it ?

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Craig A. Berry@21:1/5 to All on Wed Nov 27 07:19:21 2024
    On 11/26/24 2:53 PM, Arne Vajhøj wrote:
    They are there in 9.2-2. Sort of.

    They are in various starlet include/inherit files and no link error.

    But when I try to call I get 4026:

    %SYSTEM-E-NOT_LOADED, system service or exec routine is not loaded

    What to do to load them?

    Dunno, but those are probably the routines within the XFC intended to be
    called by the CRTL, so unless you are trying to implement your own CRTL
    you may not get what you want by calling them directly.

    To enable SSIO in the CRTL, you had to set DECC$SSIO and
    DECC$FILE_SHARING in the environment or send fop="ssio", shr="upd" to
    open() or creat(). This according to notes distributed with the beta
    twelve years ago.

    Given that SSIO was left incomplete for a decade, followed by a brief
    period where it was on the roadmap and Andy Goldstein was reportedly
    working on it, followed by removal from the roadmap, it's anybody's
    guess what's actually there and whether any of it even still partially
    works.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Craig A. Berry on Wed Nov 27 09:11:49 2024
    On 11/27/2024 8:19 AM, Craig A. Berry wrote:
    On 11/26/24 2:53 PM, Arne Vajhøj wrote:
    They are there in 9.2-2. Sort of.

    They are in various starlet include/inherit files and no link error.

    But when I try to call I get 4026:

    %SYSTEM-E-NOT_LOADED, system service or exec routine is not loaded

    What to do to load them?

    Dunno, but those are probably the routines within the XFC intended to be called by the CRTL, so unless you are trying to implement your own CRTL
    you may not get what you want by calling them directly.

    To enable SSIO in the CRTL, you had to set DECC$SSIO and
    DECC$FILE_SHARING in the environment or send fop="ssio", shr="upd" to
    open() or creat(). This according to notes distributed with the beta
    twelve years ago.

    I know that is the intended usage.

    But CRTL will end up calling those system services.

    And I thought troubleshooting would be easier by calling
    those system services directly.

    And the system services seems relative easy to use.

    sys$library:sys$starlet_c / starlet has:

    /* Read a byte stream from the current file offset from a file that
    */
    /* has been opened for Shared Stream I/O (SSIO) access
    */
    /*
    */
    /* $SSIO_READ chan ,buffer ,bufsiz ,iosa ,[ast] ,[astprm]
    */
    /* ($SSIO_READW)
    */
    /*
    */
    /* chan = channel number for SSIO accessed file
    */
    /*
    */
    /* buffer = address of data buffer to receive data (64-bit address)
    */
    /*
    */
    /* bufsiz = size of data buffer in bytes (64-bit value)
    */
    /*
    */
    /* iosa = address of I/O status area (4 quadwords) to receive
    final */
    /* completion status (64-bit address)
    */
    /*
    */
    /* ast = address of AST routine (64-bit address)
    */
    /*
    */
    /* astprm = value to be passed to AST routine as argument (64-bit
    value) */

    Pretty straight forward.

    But I got stuck with the "not loaded" error.

    Given that SSIO was left incomplete for a decade, followed by a brief
    period where it was on the roadmap and Andy Goldstein was reportedly
    working on it, followed by removal from the roadmap, it's anybody's
    guess what's actually there and whether any of it even still partially
    works.

    I know it is undocumented and unsupported.

    But maybe someone know something anyway.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Simon Clubley on Wed Nov 27 09:16:39 2024
    On 11/27/2024 8:18 AM, Simon Clubley wrote:
    On 2024-11-26, Arne Vajhøj <arne@vajhoej.dk> wrote:
    They are there in 9.2-2. Sort of.

    They are in various starlet include/inherit files and no link error.

    But when I try to call I get 4026:

    %SYSTEM-E-NOT_LOADED, system service or exec routine is not loaded

    What to do to load them?

    If you can find the system service/executive image name, can you use
    SYSMAN to load it ?

    $ mc sysman sys_loadable add sys$loadable_images:foobar.exe
    $ @sys$update:vms$system_images

    ?

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to arne@vajhoej.dk on Wed Nov 27 18:37:11 2024
    On 2024-11-27, Arne Vajh°j <arne@vajhoej.dk> wrote:
    On 11/27/2024 8:18 AM, Simon Clubley wrote:
    On 2024-11-26, Arne Vajh°j <arne@vajhoej.dk> wrote:
    They are there in 9.2-2. Sort of.

    They are in various starlet include/inherit files and no link error.

    But when I try to call I get 4026:

    %SYSTEM-E-NOT_LOADED, system service or exec routine is not loaded

    What to do to load them?

    If you can find the system service/executive image name, can you use
    SYSMAN to load it ?

    $ mc sysman sys_loadable add sys$loadable_images:foobar.exe
    $ @sys$update:vms$system_images

    ?


    Yes, but you need to include a product name label as well.

    I just had a look around and found the documentation. Start at the
    bottom of the page labelled 405 (PDF physical page 415) in:

    https://vmssoftware.com/docs/VSI_SYS_MAN_UTIL_REF_VOL_II.pdf

    After reading that, you can decide if you want to try it or not.
    (Assuming you can find the image in question).

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Wed Nov 27 21:57:53 2024
    On Wed, 27 Nov 2024 09:16:39 -0500, Arne Vajhøj wrote:

    $ mc sysman sys_loadable add ...

    Seems that one little vestige of RSX-11, in the form of MCR, will never
    die, even if its only purpose is to avoid having to define a foreign
    command ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)