# #!/bin/csh -f # # ars_load_daemon.sh - written 11/21/98 by Kevin P. Inscoe (kevin@inscoe.org) # # USAGE: ars_load [options] [load_file] # -a The Application within the Application Group. # Defaults to filename conventions. # -c The directory to run the indexer. # Defaults to current directory. # -d The download directory. # Can be specified more than once. # -f If load fails, unload the data. # -g The Application Group. # Defaults to filename conventions. # -h OnDemand Server. # -i Run the Indexer Only. # -n Do Not Remove Files. # -p Password. # -t Time interval to sleep. # Defaults to 600 seconds. # -u Userid. # -v Verbose. # -I Instance name. # # # To: Kevin Inscoe@CBIS # cc: Subject: New Directories i # # Under the CSB directory, we need these new subdirectories: # # # INVRPTS it's files will go to the CSBCCN application group. # DAILY --> the CSBD app group # INVOICE --> the CSB1N app group # GRPSTMT --> the CSBGSTMT app group # BILLPD --> the CSBBP app group # MONTHLY --> the CSBM app group # # When I load, I use this ars_load command: # # ars_load -u {userid} -p {password} -fv -g {app group name} # {name of file to be loaded} the -f option rolls back any updates # should the load fail the -v option causes verbose statements to be # produced # # For the userid and password use 'admin' and 'jazman11'. # INVRPTS /usr/lpp/ars/bin/ars_load -fv -c'/arsacif/acif2' -d'/arsacif/acif1/csb/INVRPTS' -g 'CSBCCN' -u 'admin' -p 'jazman11' >> /var/log/OnDemand/load_csb_invrpts.log & # DAILY /usr/lpp/ars/bin/ars_load -fv -c'/arsacif/acif2' -d'/arsacif/acif1/csb/DAILY' -g 'CSBD' -u 'admin' -p 'jazman11' >> /var/log/OnDemand/load_csb_daily.log & # INVOICE /usr/lpp/ars/bin/ars_load -fv -c'/arsacif/acif2' -d'/arsacif/acif1/csb/INVOICE' -g 'CSB1N' -u 'admin' -p 'jazman11' >> /var/log/OnDemand/load_csb_invoice.log & # GRPSTMT /usr/lpp/ars/bin/ars_load -fv -c'/arsacif/acif2' -d'/arsacif/acif1/csb/GRPSTMT' -g 'CSBGSTMT' -u 'admin' -p 'jazman11' >> /var/log/OnDemand/load_csb_grpstmt.log & # BILLPD /usr/lpp/ars/bin/ars_load -fv -c'/arsacif/acif2' -d'/arsacif/acif1/csb/BILLPD' -g 'CSBBP' -u 'admin' -p 'jazman11' >> /var/log/OnDemand/load_csb_billpd.log & # MONTHLY /usr/lpp/ars/bin/ars_load -fv -c'/arsacif/acif2' -d'/arsacif/acif1/csb/MONTHLY' -g 'CSBM' -u 'admin' -p 'jazman11' >> /var/log/OnDemand/load_csb_monthly.log & # end