Author Topic: Loading PDF documents  (Read 3362 times)

DavidL

  • Guest
Loading PDF documents
« on: July 14, 2014, 12:30:19 PM »
hello,

I'm looking for a little help.
We are having trouble loading PDF type documents into Ondemand. We can load xls documents with out issue.

The Application Data Type is "User Defined"  and File Extension is "PDF". Indexer is set to "Generic"
 
CALLAHL065CTL-PDF.071014.IND
CODEPAGE:0037
GROUP_FIELD_NAME:RUNDATE
GROUP_FIELD_VALUE:07/11/14
GROUP_OFFSET:0
GROUP_LENGTH:0
GROUP_FILENAME:/ODMonitorMA/CALLAHL065CTL-PDF.071014.PDF


PDF doc name: CALLAHL065CTL-PDF.071014.PDF


This is the error we are getting

arsload: Processing file >/ODMonitorMA/CALLAHL065CTL-PDF.071014<   
arsload: 07/14/14 15:03:50 -- Loading started, --UNKNOWN-- bytes to
  process                                                           
Unable to open the file >/ODMonitorMA/CALLAHL065CTL-PDF.071014.PDF<
Loaded 0 rows into the database                                     
arsload: 07/14/14 15:03:51 Loading failed                           
arsload: Processing failed for file                                 
  >/ODMonitorMA/CALLAHL065CTL-PDF.071014<                           
arsload: Processing has stopped.  The remaining files will NOT be   
  processed.                                                       
ADDRPTOND command ended in error.                                   
Object renamed.       


Monitored DIR: 

STRMONOND TYPE(*DIR) DIR('/ODMonitorMA') APPGRPSRC('*FIRST' '*NONE' '*NONE') APPSRC('*APPGRP' '*NONE' '*NONE') DLTSPLF('*YES') ENDMON('*ENDTIME') NBRHRS(8) ENDTIME(180000) NBRMON(1) INSTANCE('QUSROND') SBMJOB(*NO)         


Any ideas would be appreciated.
Thanks,
Dave
                                             

Joe Wolken

  • Full Member
  • ***
  • Posts: 113
  • CMOD iSeries Consultant
    • View Profile
    • OAS Corp.
Re: Loading PDF documents
« Reply #1 on: July 14, 2014, 01:07:45 PM »
On the iSeries if you are using OnDemand Internal Server v.9 then I believe you need to be specifying code page 0819 instead of 0037.   You can reference the IBM Info APAR for your version and release of OnDemand and PTF level to see what internal server version you are currently running.

This may be your issue.

Joe

#Installation #Upgrade #Migration #Administration #Integration #Customization #Training, and more!

Call: 512-402-1123
email: wolkenj@oascorp.com 
Click: http://www.OASCorp.com

DavidL

  • Guest
Re: Loading PDF documents
« Reply #2 on: July 15, 2014, 06:57:07 AM »
Joe

We are on Version: 8.4.1.9         
SI50817  Temporarily applied                          None   

I did an experiment by renaming the PDF document ext from .PDF to PDF2 and it loaded. Is OD looking at the PDF ext and assuming that the application is setup for PDF/indexing?

arsload: Processing file >/ODMonitorMA/CALLAHL065CTL-PDF.071014<
arsload: 07/15/14 09:32:01 -- Loading started, --UNKNOWN-- bytes to process
OnDemand Load Id = >16117-40-0-10FAA-16263-16263<
Loaded 1 rows into the database
Document compression type used - Disable.  Bytes Stored = >2658< Rows = >1<
arsload: 07/15/14 09:32:02 Loading completed
arsload: Processing successful for file >/ODMonitorMA/CALLAHL065CTL-PDF.071014<


By the way, this is Dave from Security Mutual Life of NY.


 

DavidL

  • Guest
Re: Loading PDF documents
« Reply #3 on: July 15, 2014, 09:00:31 AM »