OnDemand User Group

Support Forums => z/OS Server => Topic started by: Pk2016 on November 21, 2016, 02:54:31 PM

Title: Extracting Resources
Post by: Pk2016 on November 21, 2016, 02:54:31 PM
Hi,

Currently working on a Extraction of Statements archived in CMOD for a migration Project .

We used the ARSADMIN Retrieve functionality to retrieve the individual AFP statements, using the Object name , doc off , doc length , comp off , comp length, Primary and Secondary Node.

One problem we are facing is the retrieved  AFP statements does not have images within , meaning the resources are getting pulled as part of the retrieval . WHich is now a Huge problem.

Is there any parameter that we should be using to retrieve the Resources as well along with ARSADMIN retreive function?

We considered one Month data for extraction(from one table) which is around 5 million for initial migration .

Looking for recommendations :(
Title: Re: Extracting Resources
Post by: Greg Ira on November 30, 2016, 12:09:34 PM
If I had to venture a guess you would need to extract the resource separately from the document using the resource object name.
Something like:
 arsadmin retrieve -g somegrp -h archive -m 2 -n123-0 -d /etc/temp -u user -p passwrd 2 3

Which should retrieve resources 2 & 3 for application group somegrp.
Title: Re: Extracting Resources
Post by: Justin Derrick on December 02, 2016, 07:18:18 AM
You can also check the cache filesystem for the files...  For example, /arscache/cache01/retr/<AGID_NAME>/RES/, where <AGID_NAME> is the three-letter-code for the Application Group.