Skip to Main Content
Due to the recent acquisition by IBM, the Adabas & Natural Ideas Portal does not contain ideas from products ApplinX and EntireX any longer. Please refer to the IBM Ideas Portal for these products from now on (IBMid required). Existing content will be migrated during the next few weeks.
Status Future consideration
Workspace Natural for z/OS
Categories Utilities
Created by Claes Norreen
Created on Sep 19, 2024

Command interface to LIST XREF in a subprogram

Just like SYSMAIN has a MAINUSER subprogram interface for direct commands, it would be very useful to have the same for LIST XREF. Right now, we are limited to accessing SYSDIC ourselves, using TEST DBLOG to figure out how you guys do it, then copy this functionality. But we would much prefer to have a supported function for this.

  • Claes Norreen
    Reply
    |
    Oct 16, 2024

    my comment is not getting added??


  • Claes Norreen
    Reply
    |
    Oct 16, 2024

    Hi again Eli,

    I have tried using sets. I see issues with it.

    I am going to use output from XREF for a service used in deploy pipeline (the ANT-thing you worked together with Zlovomir on).

    So I get a list of changed objects, and I will call XREF to see the dependencies, then return a list of affected objects.

    I understand how I can create a set using USR4013N. I can also purge it again. But how do I interact with XREF using this set, I have created? I may be able to build a direct command, but remember, I am in a subprogram (service). So how do I call XREF using my set from within the service? If I had a similar thing as MAINUSER (for SYSMAIN), I see it's possible.

    BR, Claes

  • Claes Norreen
    Reply
    |
    Oct 15, 2024

    Hi Eli, I reported SI-571555 because I can't use DBID to go cross-environment as is.


  • Claes Norreen
    Reply
    |
    Oct 15, 2024

    Hello Eli,

    I did look at sets, but I couldn't get it to work. Let me give it another try using this user exit.

    Thanks :)

    /Claes


  • Admin
    Eli Cohen
    Reply
    |
    Oct 14, 2024

    Hello Claes,
    Did you tried using user exit USR4013N ?


    Interface Program for Predict. This routine gives access to List Xref Sets. Possible accesses are depending on the function to be processed:

    'PG' purge set.

    'IN' insert members in set. If 0 is given for SET-NUMBER, a new set is created.

    'RM' ReMove members from set.

    'SE' get all SEts of user in library.

    'ME' get all MEmbers of set.

    'GH' Get header and abstract of set.

    'SH' Set header and abstract of set.


    FDIC-DBID and FDIC-FNR can be specified.

  • Claes Norreen
    Reply
    |
    Sep 19, 2024

    Needs support for DBID and FNR as well.