Author Topic: File Format of OUT file from ARSDOC GET Command  (Read 2989 times)

BHUMENY

  • Guest
File Format of OUT file from ARSDOC GET Command
« on: July 08, 2016, 09:47:52 AM »
How can I tell what file type the OUT file created from a ARSDCOC GET command is?
We currently store AFP, EML and TIFF documents in OnDemand.  When I retrieve them, how can I tell what viewer to use to open them?

Thanks.
Bill

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: File Format of OUT file from ARSDOC GET Command
« Reply #1 on: July 08, 2016, 10:41:56 AM »
The format of the document you retrieve is the format that it went into CMOD as.  So, TIFFs come out as TIFFs, Line data as line data, etc.

If you're using the -c option, the documents are concatenated together, resulting in one (or many) large files that contain the documents 'stacked' one after the other in the file.  You can use the 'offset' and 'length' values from inside the generic index file to get the 'address' of a single document. 

Be cautious about leaving off the -c option though -- depending on your query, it could produce THOUSANDS of files.

-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

BHUMENY

  • Guest
Re: File Format of OUT file from ARSDOC GET Command
« Reply #2 on: July 08, 2016, 11:13:09 AM »
I realize that the format of the document you retrieve is the format that it went into CMOD.
But now that I have all these OUT files, how do I know what viewer to use to display them?

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: File Format of OUT file from ARSDOC GET Command
« Reply #3 on: July 08, 2016, 03:03:30 PM »
The name of the Application should be in the file name.  The type of document in the Application is the type of document that was extracted -- unless you're doing something weird.
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