BSA: How do I save changes made to objects using the Unreleased BLCLI Commands ?

Version 3
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    BladeLogic Server Automation Suite


    BMC BladeLogic Server Automation Suite



    Some Unreleased BLCLI commands act directly on an object and make changes to it.  How do I save the changes made to the object when I'm done ?




    Legacy ID:KA425285


    After loading and then altering an object you typically must call a command to update the object.  For example, let's update a NSH Script Job setting using some unreleased commands:

    blcli_execute NSHScriptJob getDBKeyGroupAndName "/Workspace/Scripts" "MyScript" blcli_storeenv jobKey # load the object.  while the getDBKey commands usually leave the object loaded, we might can be sure by running the next command: blcli_execute Job findByDBKey ${jobKey} # store the object for reference later blcli_execute Utility storeTargetObject job # make the setting change blcli_execute NSHScriptJob setParallelProcs 30 # call the object update command and reference the loaded object (the job) blcli_execute Job update NAMED_OBJECT=job


    Article Number:


    Article Type:

    Solutions to a Product Problem

      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles