Generic indexer and using -G to get AG name from file not working

Previous topic - Next topic

Bill Dennis

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

Justin Derrick

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.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Bill Dennis

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