Author Topic: Generic indexer and using -G to get AG name from file not working  (Read 4723 times)

Bill Dennis

  • Guest
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

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Generic indexer and using -G to get AG name from file not working
« Reply #1 on: April 18, 2008, 04: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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

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

Bill Dennis

  • Guest
Re: Generic indexer and using -G to get AG name from file not working
« Reply #2 on: April 25, 2008, 07:14:36 AM »
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.

Code: [Select]
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