Db2

 View Only
  • 1.  Getting and error on scheduled report - where do I set library list?

    Posted Thu July 28, 2022 02:30 PM

    When running a scheduled report I see an error in the job log related to a missing service program of ours. This service program is in a library other than the data library. How/where do I configure the report scheduler to use a particular user profile or library list?

    Error:

    (FOC1400) SQLCODE IS -204 (HEX: FFFFFF34) XOPEN: 42704

    (FOC1500) : [42704] UBS400UDTF in *LIBL type *SRVPGM not found.

    Thanks,

    Dan






    #Db2
    #Support
    #SupportMigration


  • 2.  RE: Getting and error on scheduled report - where do I set library list?

    Posted Thu July 28, 2022 03:10 PM

    I don't have much experience with scheduling but it seems the schedule is executed with the owner ID.

    "An owner of a schedule can make a schedule available to other members of the top-level folder in which the schedule resides. The schedule owner remains the execution ID."

    You would control the library list through run time environment and runtime environment assignments. This is set up in WRKWEBQRY, option 5=Work with Runtime Environments






    #Db2
    #Support
    #SupportMigration


  • 3.  RE: Getting and error on scheduled report - where do I set library list?

    Posted Thu July 28, 2022 03:15 PM


  • 4.  RE: Getting and error on scheduled report - where do I set library list?

    Posted Thu July 28, 2022 03:30 PM

    Runtime environments turned out to be the key. I left off yesterday setting up a new environment and didn't realize that it was going to trickle down to the scheduled report side of things -- but it makes sense that it does.


    Thanks for pointing me in the right direction!


    Dan






    #Db2
    #Support
    #SupportMigration