OnDemand User Group

Support Forums => Report Indexing => Topic started by: MHassan on August 24, 2020, 09:51:15 AM

Title: Text file autoload
Post by: MHassan on August 24, 2020, 09:51:15 AM
Hello,

While i am trying to load a file with .txt after using ACIF Line data indexer , how to run this in deamon mode without running the arsload command manuel ?

Thanks in advance
Title: Re: Text file autoload
Post by: Mehmet S Yersel on August 24, 2020, 01:08:12 PM
I think you will need to rename your file to .ARD before you can auto-load with ARSLOAD daemon mode.

Check this link for some detail: https://www.ibm.com/support/knowledgecenter/SSQHWE_10.5.0/com.ibm.ondemand.ir.doc/dodiz045.htm

The relevant section:

Daemon mode
The ARSLOAD program runs as a daemon (UNIX, z/OS and IBM® i servers) or service (Windows servers) to periodically check a specified directory for input files to process. When running ARSLOAD in daemon mode, a dummy file with the file type extension of .ARD is required to initiate a load process. In addition, the Generic indexer parameter file (.ind) must be located in the specified directory. The GROUP_FILENAME: parameter in the .ind file specifies the full path name of the actual input file to be processed.
Title: Re: Text file autoload
Post by: jsquizz on August 25, 2020, 04:40:26 PM
.ARD file. Plus, using the -A and -G flags

example -A MVS -G DATASET

"arsload" for more info. dont forget, you need a -t <time in seconds> at the end and probably a & to background it (If AIX/RHEL..)
Title: Re: Text file autoload
Post by: MHassan on August 26, 2020, 02:27:52 AM
Thank you very much myersel and jsquizz for your answer , it worked fine