Author Topic: DOC_TYPE and FIXED_VIEW fields Value from ARSAPP table  (Read 2213 times)

yousuf_gani

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
DOC_TYPE and FIXED_VIEW fields Value from ARSAPP table
« on: April 20, 2017, 10:05:08 AM »
Hi,
I need to Query(Oracle Ondemand table ) for the following info
- APPLICATIONs DOC_TYPE and the
- Format (EXTENSION=) from FIXED_VIEW filed if "USER-DEFINED" is Doc_type

I tried from the ARSAPP table I see the DOC_TYPE has the HEX_CODE and FIXED_VIEW is CLOB type

Any Conversion / SELECT query routine to get the Actual DOC_TYPE and EXTENSION detail from this Tables fields.?

Please do the needful help...

Norbert Novotny

  • Jr. Member
  • **
  • Posts: 46
    • View Profile
Re: DOC_TYPE and FIXED_VIEW fields Value from ARSAPP table
« Reply #1 on: June 16, 2017, 05:51:35 AM »
Hi Yousuf,
This is not a complete answer to your question but could help:
Code: [Select]
ARSAPP.DOC_TYPE
--------------------
41 = AFP
4C = line
42 = BMP
47 = GIF
50 = PCX
54 = TIFF
52 = PDF
4A = JFIF/JPEG
51 = PNG
4D = Metacode
55 = User defined
4E = None
Reading CLOB you can just select with cast, most of CMOD CLOB are relatively small in size.
Parsing the CLOB read the ORACLE reference for regex.

Hope this helps,
 N.
Norbert Novotny
Legal archiving - Swisscom AG

Mobile:  +41-On-request

Dev: #SQL, #Perl, #Java, #C

Interests: #CMOD, #Multiplatforms, #DB2, #Oracle, #TSM, #ERM, #Performance

yousuf_gani

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: DOC_TYPE and FIXED_VIEW fields Value from ARSAPP table
« Reply #2 on: June 16, 2017, 06:28:44 AM »
Thanks you so much Norbert...
I will try with the SQL to get required Data from the OD - Oracle Table based on the mapping HEX code.

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: DOC_TYPE and FIXED_VIEW fields Value from ARSAPP table
« Reply #3 on: June 19, 2017, 09:15:03 AM »
Check out the wiki if you want to learn about IBM CMOD database tables... https://cmod.wiki/index.php?title=Content_Manager_OnDemand_Database_Tables

-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