Author Topic: Proof of Concept - Archiving the z/OS SYSLOG With ARSYSPIN  (Read 6375 times)

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1199
    • View Profile
Proof of Concept - Archiving the z/OS SYSLOG With ARSYSPIN
« on: April 02, 2013, 01:04:06 PM »
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
« Last Edit: February 25, 2021, 08:39:12 AM by Ed_Arnold »
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1199
    • View Profile
Re: Proof of Concept - Archiving the z/OS SYSLOG With ARSYSPIN
« Reply #1 on: April 02, 2013, 01:29:00 PM »
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

  • Hero Member
  • *****
  • Posts: 1199
    • View Profile
New method
« Reply #2 on: February 24, 2021, 12:27:48 PM »
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

             
« Last Edit: February 25, 2021, 07:57:57 AM by Ed_Arnold »
#zOS #ODF

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Proof of Concept - Archiving the z/OS SYSLOG With ARSYSPIN
« Reply #3 on: February 25, 2021, 07:50:52 AM »
Hey Ed.  I just enabled the upload of .zip files.  You can edit your post and try again.  :)

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

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

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1199
    • View Profile
Re: Proof of Concept - Archiving the z/OS SYSLOG With ARSYSPIN
« Reply #4 on: February 25, 2021, 07:58:35 AM »
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