OnDemand User Group

Support Forums => iSeries => Topic started by: KLefler on August 20, 2009, 11:32:09 AM

Title: How do you add a report via the Load ID
Post by: KLefler on August 20, 2009, 11:32:09 AM
Is there any way to load a report to a new application group based on the Load ID?
Title: Re: How do you add a report via the Load ID
Post by: Justin Derrick on August 21, 2009, 08:22:36 AM
I'm not sure if it works the same way on the iSeries, but in the Multiplatforms world, this is fairly straightforward:

You can retrieve a loaded file using the "arsdoc get" command -- specifically, use the -X option and specify the load ID in order to get the actual document back. 

Once you have the data extracted, you can reload it into the new Application Group with arsload.

You can find the complete documentation for arsdoc in the Administrator's Guide.  (For CMOD Multiplatforms v8.4.1 -- it starts on page 245.)

Hope this helps!

-JD.
Title: Re: How do you add a report via the Load ID
Post by: KLefler on August 21, 2009, 09:03:11 AM
Thanks, Justin.  But I am not sure that command will work on the iSeries.  What happened is I set up an application group with a field defined as time expecting 8 characters.  It loaded about 10 reports then a report came over shortly after midnight which passed the time field with only 5 characters.  I copied the application group and changed the field to be a string and ignore spaces, then renamed the old one but want to get the 10 reports that were loaded to the original application group loaded to the new one.
Title: Re: How do you add a report via the Load ID
Post by: Joe Wolken on August 31, 2009, 07:56:35 AM
Another way that you may consider reloading just a few files is to simply use the OnDemand Client to print the 10 reports to a server printer (defined in OnDemand Admin client as an iSeries outq).  Then, either manually store the reports again to OnDemand or change their attributes so they are picked up again when you move them to the monitored outq.

Good luck,
Joe
Title: Re: How do you add a report via the Load ID
Post by: geoffwilde on September 01, 2009, 09:07:54 AM
we've done this on the z/os series a bunch or times and use it to validate new maintenance.