How to generate listing of all functions with GEN name and file name given File prefix?
CA 2E 8.7.x
There is no straightforward way to achieve this.
When we list the access paths in a model, using the option “8” on the “DISPLAY SERVICES MENU”, the following screen is displayed.
When we list the functions in a model, using the option “9” on the “DISPLAY SERVICES MENU”, the following screen is displayed.
On both of the above screens, there is no option to print the entries to a spool or load them into a model object list.
To overcome this and have the ability to print the access paths/functions with a generic GEN name or the access paths with a generic File prefix, perform the following:
1. Set the library list for the model correctly
2. Run command to create a new model list, containing all FUN type objects
YBLDMDLLST OBJNAM((*ALL *ALL *FUN)) MDLLST(RXDFUNLST)
3. Run command to work with model object lists
YWRKMDLLST USER(*DSNR)
4. Take option “2=Edit” against the model object list - RXDFUNLST
5. Press “F17=Subset”. This will take us to the “Subset Model Objects” screen. Since we have already selected only “*FUN” type objects while building the list, we will only specify the “Implementation name”. Set the “Implementation name” to have the value “UUI*”. This should list out all the functions that have an implementation name starting with “UUI”.
6. Press ENTER. This will take us back to the “Edit Model Object List” screen and show us a list of functions on the screen that have an implementation name starting with “UUI”.