Author Topic: arsdb in batch, how can I control where it writes the exported file?  (Read 3026 times)

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
   JOB card
//STEP1   EXEC PGM=BPXBATCH,REGION=0M                     
//STDPARM DD *                                             
SH                                                         
export DSNAOINI=/path/to/cli.ini;                     
export STEPLIB=DB2.V11R1M0.SDSNLOD2:DB2.V11R1M0.SDSNLOAD; 
cd /directory/to/write/to;                                     
/usr/lpp/ars/V9R0M0/bin/arsdb -I ARCH900 -vx ARSHOLD;     
/usr/lpp/ars/V9R0M0/bin/arsdb -I ARCH900 -vx ARSHOLDMAP;


The output will be written to /directory/to/write/to
« Last Edit: June 10, 2016, 08:54:38 AM by Ed_Arnold »
#zOS #ODF