XMl+PDf archive CMOD

Previous topic - Next topic

Importing XMl+PDF into a CMOD server

Importing XMl+PDF into CMOD server
2 (100%)
Importing XMl+PDF into CMOD server
0 (0%)

Total Members Voted: 2

nifipro

Hello folks,

I would like to configure a CMOD application that archive pdfs files. The indexes are stored within an xml file
The inputs is pdf (image) + XMl file (m�ta data file).
Can you please advise the best way/indexer to use in this case ?

XML file that contains the metadatas :

<?xml version="1.0"?>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
<DGAccountAdmin>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
<DGType>Output IBBA</DGType>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
<StatusId>1</StatusId>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
<DGStatus>In Use</DGStatus>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
<MailId>1</MailId>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
<DXMail>No</DXMail>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
<DXIndexedBy>P8Admin</DXIndexedBy>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
<DXDocumentTitleId>124</DXDocumentTitleId>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
<DXDocumentDate>2018-04-26</DXDocumentDate>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
<DXOldDocumentTitle>BATCHAS0400-COUF-20180822</DXOldDocumentTitle>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
<DocumentTitle>BankStatement</DocumentTitle>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
<DXDepartment>Operations</DXDepartment>   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

thanks..

jsquizz

In the past, I've setup the application to use the generic indexer and then used some kind of java program/script to convert the incoming xml to standard generic indexer format that arsload can read.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

Review the presentation by Bud Paton on storing XML in CMOD in this post:

http://odug.net/index.php?topic=2421.0

You might be able to use some of the information and tools presented there to help build your solution. 

-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

nifipro

Hi Guys,

Thank you  for your help.

@jsquizz : As suggested, i created a custom java program to generate a .ind file from XML and i used the Generic Indexer to import pdf + ind file. Now it work.

Regards,