Examples

  1. The following example shows how to use the UNLOAD function to delete an input file from the system.
    arsadmin unload -g 'Credit' -L 1220-1-0-1FAA-9339-9345
  2. The following example shows how to use the COMPRESS function to estimate the amount of storage required for an input file that contains logical items, such as bills, invoices, or statements. The ARSADMIN program compresses the first 200 KB of data in the input file using the default (OD77) compression method.
    arsadmin compress -s report_file -o output_file -l 200000 
  3. The following example shows how to use the COMPRESS function to estimate the amount of storage required for an input file that contains transaction data, such as a general ledger. The input file is a portion of a larger input file.
    arsadmin compress -s report_file_segment -o output_file 
  4. The following example shows how to use the IMPORT function to import a migrated index table from archive storage into the database. The name of the application group and the index table to import can be obtained from the message that OnDemand saves in the system log.
    arsadmin import -g 'Credit' AAA27
  5. The following example shows how to use the ICU function to convert the input.utf8 file from Unicode to EBCDIC and save the output in the output.ibm500 file.
    arsadmin icu -s input.utf8 -F UTF-8 -o output.ibm500 -T IBM-500