Proof of Concept - Archiving the z/OS SYSLOG With ARSYSPIN

Previous topic - Next topic

Ed_Arnold

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
#zOS #ODF

Ed_Arnold

Oops - can't upload a .zip file so I renamed it to .txt.   Rename it back to .zip and then unzip.

Ed
#zOS #ODF

Ed_Arnold

#2
Had a query about this topic, tried to download the attached file, nothing worked.

Reinvented the wheel, try this:

PARMLIB member:

applgroup="MVSSYSLOG-AG"       
appl="MVSCONSLOG1"             
*selform=(NODX2)               
*reportid=NODX2                 
outsep=no                     
jesclass=L                     
capdskeep=yes                 
dsnpfx=ARS.ARSYSPED           
jobbreak=yes                   
maxsfc=1                       
maxdorm=10                     
*temppath=/u/odadmin           
temppath=/ars/codwekcache     
tempunit=vio                   
odhost=n.m.o.p           
odinstance=arch10           
oduser=odadmin                 
oduserpw=blahblah

//IEFPROC EXEC PGM=ARSYSPIN,REGION=0M                       
//STEPLIB  DD DISP=SHR,DSN=ARS.ARSV1010.SARSLOAD             
//         DD DISP=SHR,DSN=ARS.ARSV1010.USERLOAD             
//         DD DISP=SHR,DSN=DB2.V12R1M0.SDSNEXIT             
//         DD DISP=SHR,DSN=DB2.V12R1M0.SDSNLOAD             
//         DD DISP=SHR,DSN=DB2.V12R1M0.SDSNLOD2             
//ARSBIN   DD PATH='/usr/lpp/ars/V10R1M0/bin'               
//DSNAOINI DD PATH='/usr/lpp/ars/V10R1M0/config/cli.ini'     
//SYSIN DD DUMMY,DCB=(LRECL=80,BLKSIZE=80,RECFM=FB)         
//CEEDUMP DD SYSOUT=*                                       
//SYSPRINT DD SYSOUT=*                                       
//SYSOUT DD SYSOUT=*                                         
//ARSYLIST DD SYSOUT=*                                       
//ARSYPARM DD DISP=SHR,DSN=USER1.PRIVATE.PARMLIB(ARSYSPED)

Temp.zip.   It's a zip file of a local server which has the defs.   

Ed

             
#zOS #ODF

Justin Derrick

Hey Ed.  I just enabled the upload of .zip files.  You can edit your post and try again.  :)

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Ed_Arnold

Quote from: Justin Derrick on February 25, 2021, 02:50:52 PM
Hey Ed.  I just enabled the upload of .zip files.  You can edit your post and try again.  :)

-JD.

You da man.  Done.

Ed
#zOS #ODF