On my z/OS sandbox system I wanted to prove that I could archive the z/OS console log into CMOD with ARSYSPIN.
Here's the started proc JCL:
//IEFPROC EXEC PGM=ARSYSPIN,REGION=0M
//STEPLIB DD DISP=SHR,DSN=ARS.ARSV850.SARSLOAD
// DD DISP=SHR,DSN=ACIF.V4R3M0.SAPKMOD1
// DD DISP=SHR,DSN=DSN.DB2VA10.SDSNEXIT
// DD DISP=SHR,DSN=DSN.DB2VA10.SDSNLOAD
// DD DISP=SHR,DSN=DSN.DB2VA10.SDSNLOD2
//ARSBIN DD PATH='/usr/lpp/ars/V8R5M0/bin'
//DSNAOINI DD PATH='/usr/lpp/ars/V8R5M0/config/cli.ini'
//SYSIN DD DUMMY,DCB=(LRECL=80,BLKSIZE=80,RECFM=FB)
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//CEEDUMP DD SYSOUT=*
//ARSYLIST DD SYSOUT=*
//*RSYPARM DD DISP=SHR,DSN=USER.PRIVATE.PARMLIB(ARSYP850)
//ARSYPARM DD DISP=SHR,DSN=USER.PRIVATE.PARMLIB(CONSLOGA)
Here's the contents of ARSYPARM:
applgroup="MVSSYSLOG-AG"
* appl="NODXANSI2"
*selform=(NODX2)
*reportid=NODX2
outsep=no
jesclass=L
capdskeep=no
jobbreak=yes
maxsfc=1
maxdorm=10
*temppath=/u/odadmin
temppath=/ars/codwekcache
tempunit=vio
odhost=zos1.arnold.ibm.com
odinstance=arch850
oduser=odadmin
oduserpw=password
At midnight every night a "W L" is issued. This is the only output written to class L.
ARSYSPIN then reads this in and archives it, just as expected.
Side note: /ars/codewekcache is a TFS, works just great
Ed