IBM Support

Multiple admin commands on a single admin schedule

Troubleshooting


Problem

Single admin schedule executing more than one administrative command.

Resolving The Problem

While only one admin command can be executed in an administrative schedule, an Admin script can be used to execute multiple commands. The Admin script can them be executed through the administrative schedule to effectively execute multiple commands.

For example to have a single Admin schedule update the reclamation value of three sequential storage pools:

Define a script with the three update storage pool commands:

    def script updrecl 'update stg tapepool1 reclaim=85' line=5
    upd script updrecl 'update stg tapepool2 reclaim=85' line=10
    upd script updrecl 'update stg copypool reclaim=85' line=15

Define an Administrative schedule that executes the script updrecl:
    def sched updatereclaim type=admin active=yes cmd='run updrecl'

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Product Synonym

TSM

Document Information

Modified date:
17 June 2018

UID

swg21111779