OnDemand User Group
Support Forums => Report Indexing => Topic started by: kasim on May 29, 2014, 02:15:34 AM
-
Hi all
i am trying to automate arsload process. i.e. load files automatically from a directory. I have configures everythig but load is failed.
my application name is Test_App. what should be my input file name according to this format.
MVS.JOBNAME.DATASET.FORM.YYYYDDD.HHMMSST.ARD
i gave filename like this
1.2.3.Test_App.2014Apr.12520000.pdf
but this is not working
thanks
-
Is the last qualifier .pdf or .ARD?
I guess ars daemon can only pick files only ending with .ARD
-
Hi Frederick
thanks for reply
i have pdf files.
Environment
Windows server 2008
CMOD - 9.0
ApplicationGropup/Application name - Test_App_Pdf
dir name- c:\arsload
temp dir - c:\temp
according to documentation arsload will pick application group name from input file itself.
http://publib.boulder.ibm.com/infocenter/cmod/v8r3m0/index.jsp?topic=%2Fcom.ibm.ondemand.mp.doc%2Fars1b171246.htm (http://publib.boulder.ibm.com/infocenter/cmod/v8r3m0/index.jsp?topic=%2Fcom.ibm.ondemand.mp.doc%2Fars1b171246.htm)
i am getting following message in logs.
ARS4324E File >c:\arsload\Test_App_PDF.1360908996781.Test_App_PDF.Test_App_PDF_0.0.0.ARD.pdf< renamed to >c:\arsload\Test_App_PDF.1360908996781.Test_App_PDF.Test_App_PDF_0.0.0.ARD.pdf.Failed<. Correct problems and resubmit file.
-
Looks like the incoming file had been recognized, could you check on the log to see if you see any additional error messages?
Use -v option also in the load
-
A sample autoloading filename from our system is
MVS.JOB0002.RPT093-V03.PDFR0206.CMR093.Water-050714.pdf
PDF is the required file type.
parts 3 and 4 are the ones critical to loading
3 is application, and 4 is application group.
The development group calls some reports CMRsomething, others RPTsomething.
We require them to use fixed names. We have them copy their files to a shared pre-load directory. Every 30 minutes we have a script check the directory, and it will map and rename all files found to the appropriate 7 part file name, then move them to the autoloading directory.
Our script also allows some flexibility for them if they include a date in the input filename, so that it is preserved in the rename if they need to submit multiple versions of a report at the same time.
-
Hi LWagner
thanks for your suggestion.
it working now.
i gave below file name -
MVS.JOB0002.DATASET.<APPLICATIONGROUP Name>.<Date><Report file name>.pdf
In windows no need to run any command just go to configurator
Right click on "OnDemand Load Data service".-> Properties
Select Automatic , Give user name and password, load directory name and time etc. Select ApplicationGroup identifier as Form.