Grammar for parsing Tivoli Storage Manager (TSM or ADSM) configuration files

Version 3
    Share:|

    The attached "tsm.gm" grammar can be used for parsing (reading and writing) Tivoli Storage Manager (TSM or ADSM) configurations, like dsm.sys, of format:

     

     

     

    SErvername      examplebkp2.example.com
        PASSWORDACCESS      GENERATE
        COMMmethod  TCPip
        TCPPort    1500
    SErvername      examplebkp3.example.com
        PASSWORDACCESS      GENERATE
        COMMmethod  TCPip
        TCPPort    1500
        TCPServeraddress    examplebkp3.example.com
        Users      joe
        Inclexcl    /opt/tivoli/tsm/client/ba/bin/inclexcl.def
        SCHEDLOGname        /var/tmp/dsmsched.log
        ERRORLOGname        /var/tmp/dsmerror.log
        Compression ON
        SCHEDMODe  PROMPted
        RETRYperiod 15
        MAXCMDRetries      20
        QUERYSCHedperiod    2
        SCHEDLOGRetention  3
        Errorlogretention  3
        DIRMc      DIRECTORY