OnDemand Users Group

Support Forums => CMOD for z/OS Server => Topic started by: Bill Dennis on April 17, 2008, 04:38:21 PM

Title: Generic indexer and using -G to get AG name from file not working
Post by: Bill Dennis on April 17, 2008, 04:38:21 PM
I'm trying to use the -G option on arsload on z/OS to point to a filename node containing AG name.  I can't seem to figure out how the sample node names
"WRITER.MVS.JOBNAME.DATASET.FORMS" relates to my file
"GENERAL.0.Reprts-General.zFA133.ind".

AG should be Reprts-General.
Does it match backwards from right end?

Thanks,
Bill Dennis
Title: Re: Generic indexer and using -G to get AG name from file not working
Post by: Justin Derrick on April 18, 2008, 11:32:47 AM
Hi Bill.

Can you paste in the exact command or JCL that is running arsload?  That'll help us diagnose the problem a little better.

Also, which version of CMOD are you using?

-JD.
Title: Re: Generic indexer and using -G to get AG name from file not working
Post by: Bill Dennis on April 25, 2008, 02:14:36 PM
I just got confirmation from IBM that -G and -A are only valid in daemon mode.

However, as long as the index file has .ARD.ind as the last two nodes, the -B option can be used to locate the AG and APP in the file name for a stand-alone load.
The presence of ARD is key, unfortunately "arsdoc get" doesn't include the in the names it creates! You have to update file name of the .ind file.

arsload -n -B "AG.IGN.IGN.APP.EXT" -u myU -p myP                       
   -v /u/odv744/ag-name-here.0.Reprt-General.app-name-here.ARD