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.
my comment is not getting added??
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
Hi Eli, I reported SI-571555 because I can't use DBID to go cross-environment as is.
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
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.
Needs support for DBID and FNR as well.