Author Topic: Collecting Metadata  (Read 2752 times)

j4jims

  • Guest
Collecting Metadata
« on: September 18, 2015, 07:09:42 AM »
Hi All,

I am in need to collect a specific metadata field in a folder.

I am using arsdoc query to get the entire metadata for a folder as below

arsdoc query -u <username> -p <pwd> -h <hostname> -f <foldername> -i "where condition" -v -o "outfile.txt"

Is there a way to extract only the specific metadata field using arsdoc query rather fetching all details for a particular record?

Please assist me ...

-Jim




Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2230
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Collecting Metadata
« Reply #1 on: September 20, 2015, 04:56:58 AM »
Make a new folder that only contains the fields you want.  :)

-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

j4jims

  • Guest
Re: Collecting Metadata
« Reply #2 on: September 21, 2015, 10:27:56 AM »

Thanks JD for your valuable input.

I had used this way to get the specific field in metadata in a file which is requried.

arsdoc query -h <hostname> -u <username> -p <password> -f <"foldername"> -N <"(dbfield1)(dbfield2)(dbfieldn)" -i <"where condition"> -o "outfile" -v

-Jim