106
Tips and Tricks / ARSSLU utility - and how to run in batch on z/OS
« on: July 13, 2015, 09:28:23 AM »
Ref: http://www-01.ibm.com/support/knowledgecenter/SSEPCD_9.5.0/com.ibm.ondemand.administeringmp.doc/arsslu.htm?lang=en
"The ARSSLU command helps you audit your Content Manager OnDemand database for inconsistencies. Run this command only on the library server."
Sample JCL for running on z/OS:
//CREATE EXEC PGM=BPXBATCH,REGION=0M
//STDPARM DD *
SH
export DSNAOINI=/usr/lpp/ars/V9R5M0/config/cli.ini;
export STEPLIB=DB2.V11R1M0.SDSNLOD2:DB2.V11R1M0.SDSNLOAD;
/usr/lpp/ars/V9R5M0/bin/arsslu -I ARCH950 -c -v
/*
//SYSOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
//**************************************************************
//POPULATE EXEC PGM=BPXBATCH,REGION=0M
//STDPARM DD *
SH
export DSNAOINI=/usr/lpp/ars/V9R5M0/config/cli.ini;
export STEPLIB=DB2.V11R1M0.SDSNLOD2:DB2.V11R1M0.SDSNLOAD;
/usr/lpp/ars/V9R5M0/bin/arsslu -I ARCH950 -p -v
/*
//SYSOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
//**************************************************************
//ANALYZE EXEC PGM=BPXBATCH,REGION=0M
//STDPARM DD *
SH
export DSNAOINI=/usr/lpp/ars/V9R0M0/config/cli.ini;
export STEPLIB=DB2.V11R1M0.SDSNLOD2:DB2.V11R1M0.SDSNLOAD;
/usr/lpp/ars/V9R5M0/bin/arsslu -I ARCH950 -a -v
/*
//SYSOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
//*************************************************************
//DELETE EXEC PGM=BPXBATCH,REGION=0M
//STDPARM DD *
SH
export DSNAOINI=/usr/lpp/ars/V9R5M0/config/cli.ini;
export STEPLIB=DB2.V11R1M0.SDSNLOD2:DB2.V11R1M0.SDSNLOAD;
/usr/lpp/ars/V9R5M0/bin/arsslu -I ARCH950 -d -v </u/user33/yes;
/*
//SYSOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
Note 1: on z/OS you have to be at a minimum level of 8.5.0.10 or 9.0.0.6 or 9.5.0.2.
Note 2: /u/user33/yes is a file that contains the character "y", nothing else. It's to respond to what would ordinarily be an interactive prompt.
Ed
"The ARSSLU command helps you audit your Content Manager OnDemand database for inconsistencies. Run this command only on the library server."
Sample JCL for running on z/OS:
//CREATE EXEC PGM=BPXBATCH,REGION=0M
//STDPARM DD *
SH
export DSNAOINI=/usr/lpp/ars/V9R5M0/config/cli.ini;
export STEPLIB=DB2.V11R1M0.SDSNLOD2:DB2.V11R1M0.SDSNLOAD;
/usr/lpp/ars/V9R5M0/bin/arsslu -I ARCH950 -c -v
/*
//SYSOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
//**************************************************************
//POPULATE EXEC PGM=BPXBATCH,REGION=0M
//STDPARM DD *
SH
export DSNAOINI=/usr/lpp/ars/V9R5M0/config/cli.ini;
export STEPLIB=DB2.V11R1M0.SDSNLOD2:DB2.V11R1M0.SDSNLOAD;
/usr/lpp/ars/V9R5M0/bin/arsslu -I ARCH950 -p -v
/*
//SYSOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
//**************************************************************
//ANALYZE EXEC PGM=BPXBATCH,REGION=0M
//STDPARM DD *
SH
export DSNAOINI=/usr/lpp/ars/V9R0M0/config/cli.ini;
export STEPLIB=DB2.V11R1M0.SDSNLOD2:DB2.V11R1M0.SDSNLOAD;
/usr/lpp/ars/V9R5M0/bin/arsslu -I ARCH950 -a -v
/*
//SYSOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
//*************************************************************
//DELETE EXEC PGM=BPXBATCH,REGION=0M
//STDPARM DD *
SH
export DSNAOINI=/usr/lpp/ars/V9R5M0/config/cli.ini;
export STEPLIB=DB2.V11R1M0.SDSNLOD2:DB2.V11R1M0.SDSNLOAD;
/usr/lpp/ars/V9R5M0/bin/arsslu -I ARCH950 -d -v </u/user33/yes;
/*
//SYSOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
Note 1: on z/OS you have to be at a minimum level of 8.5.0.10 or 9.0.0.6 or 9.5.0.2.
Note 2: /u/user33/yes is a file that contains the character "y", nothing else. It's to respond to what would ordinarily be an interactive prompt.
Ed