Author Topic: arsload automation  (Read 4111 times)

kasim

  • Guest
arsload automation
« 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

Frederick Tybalt

  • Full Member
  • ***
  • Posts: 124
    • Personal Website
Re: arsload automation
« Reply #1 on: May 29, 2014, 03:52:34 AM »
Is the last qualifier .pdf or .ARD?

I guess ars daemon can only pick files only ending with .ARD
rIcK
======------------------======
www.rick.co.in | www.tekbytz.com

kasim

  • Guest
Re: arsload automation
« Reply #2 on: May 29, 2014, 05:24:44 AM »
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

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.

« Last Edit: May 29, 2014, 10:25:50 PM by kasim »

Frederick Tybalt

  • Full Member
  • ***
  • Posts: 124
    • Personal Website
Re: arsload automation
« Reply #3 on: June 02, 2014, 06:00:16 AM »
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
rIcK
======------------------======
www.rick.co.in | www.tekbytz.com

LWagner

  • Guest
Re: arsload automation
« Reply #4 on: June 02, 2014, 06:52:15 AM »
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.

kasim

  • Guest
Re: arsload automation
« Reply #5 on: June 03, 2014, 12:14:05 AM »
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.


« Last Edit: June 03, 2014, 09:12:55 PM by kasim »