ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Can a DMS script program be compiled and linked as a windows executable file?

book

Article ID: 53702

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Server Automation CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Description

Can a DMS script program be compiled and linked as a windows executable file?
Sometimes this feature can be useful to hide information the end user should not be able to read like password of admin users embedded in scripts.

Solution

Yes, a procedure written using the DMS script language provided with CA can be compiled into a windows executable file by following the steps here below:

  1. Open the DMS Script Editor-Debugger.


  • Load or write the program using the DMS script language.


  • Save the source code as <MyScriptName>.dms
    where <MyScriptName> is the name you choose for your script.


  • Test its execution from within the interpreter environment.


  • From within the environment select "Help/About script". The About script editor window will popup.


  • Press CTRL+Shit+Click on the 'OK' button. A new popup window stating "Finished making the script executable file: <MyScriptName>.EXE".


  • An windows executable¬†version of your script will be saved in the same location your script source code was saved in step (3).


  • Run <MyScriptName>.EXE to verify it actually runs the same tasks as the interpretation of <MyScriptName>.dms.

Environment

Release: UASIT.99000-11.2-Asset Intelligence
Component: