Author Topic: OnDemand for Z/OS - Loading reports from JES  (Read 3377 times)

golsen

  • Guest
OnDemand for Z/OS - Loading reports from JES
« on: June 25, 2013, 08:52:35 AM »
Is anyone loading reports to the OnDemand Database from JES? We are in the process of upgrading from Z/OS OnDemand version 7 to Version 9. When we set up our version 7 system years ago, we contracted with IBM to write some custom exits that would combine the JES JobName and Writer columns which make up our Report ID (Typically 12 characters). The exit programs also used a cross reference table (ODSCRT) where we would hard code other fields such as the report title, Firm/Sub Numbers, etc. and point that report ID to a pre-defined application and application group. Now that we are upgrading, we are trying to get away from these custom exits and run in a more "Native" OnDemand environment.
  Does anyone know of a way for a report to get loaded from JES and have it pick up the Jobname and writer value to form a report id as an indexed field?
Thanks for any help.
« Last Edit: June 25, 2013, 09:24:56 AM by golsen »

ewirtz

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Re: OnDemand for Z/OS - Loading reports from JES
« Reply #1 on: June 25, 2013, 11:07:54 PM »
Hi,

it is possible to load from spool. You need the following flags
- D destination: this is the destination which ARSLOAD is listening for
- G writer: without doing anything the external writer provided in spool is interpreted as application group.

So if you don't need more variance (external writer = application group) writing to spool is everything you need.

If you cannot cover everything by this techique you need again an exit supported by IBM: 'Report specifications archive definition exit'. This exit allows overwriting application group and application. Additionally indexer parms can be added.

Regards

Egon

golsen

  • Guest
Re: OnDemand for Z/OS - Loading reports from JES
« Reply #2 on: June 26, 2013, 08:24:13 AM »
Thanks Egon, we have a call with IBM this afternoon to discuss this further.
George