Skip to content

Scenario: Authorized Program Facility

Scenario overview

Speaker's script

Imagine you are an early-tenure systems programmer (sysprog) that is tasked with updating the Authorized Program Facility (APF) authorized list on an logical partition (LPAR) and would like to quickly find guidance on doing this without having to read a bunch of manuals. In z/OS, the APF list includes information about libraries that contain APF-authorized programs. You would also like to take advantage of some simple automation to complete this task if possible.

As you will see, in the last prompt, IBM watsonx Assistant for Z will respond with the command to run to add the library to the APF authorized list, followed by prompting you to run a skill (issuing a z/OS console command) on your behalf which will perform the task.

Responses from the virtual assistant are likely to change

Responses generated by IBM watsonx Assistant for Z are likely to change over time. The responses you see when you run the queries in this section may differ from the screen images captured in the IBM watsonx Assistant for Z for Technical Sales Level 3 Demonstration Guide. Using the exact queries specified will help assure a successful demonstration. Also, as updates to the environment are made, some confirmation dialogs may no longer be displayed as illustrated in the Example outputs.

Prerequisite steps

None.

Prompts and Example outputs

Copy and paste the prompt

Use the copy icon () to copy prompts from this demonstration guide and then paste the prompt using Ctrl+V, or right click and select Paste.

  1. Ask the assistant what the APF list is.

    Prompt:

    What is the APF list in z/OS?
    

    Example output:

    Speaker's script

    Notice the detailed level of the response, and more importantly, notice the expandable section at the bottom of the response.

  1. Expand the results.

    Example output:

    Speaker's script

    You expand this section and can see the referenced sources that were used to build the answer. This illustrates just part of the explainable AI capabilities of watsonx. Click on any of the document tiles to display the source document.

  2. Ask the assistant how to update the APF list.

    Prompt:

    How do you update the APF list in z/OS?
    

    Example output:

  3. Ask the assistant what the parmlib member to update the APF list.

    Prompt:

    What is the parmlib member to update the APF list in z/OS?
    

    Example output:

  1. Ask the assistant what is the command to add loadlib for a volume in the APF list.

    Prompt:

    What is the command to add PROD1.LOADLIB on volume PRD001 to the APF list?
    

    Example output:

  2. Click Yes to run the command.

  1. Wait approximately 10 seconds and then click Apply

    Note: there are no additional parameters required in this form, this is why you see the “Form is empty” message.

    Example output:

    Speaker's script

    Notice the Assistant's response for this command informs you that LOADLIB was added to the APF list.

    Cleanup steps

    None.