content
» Sample Meta-Update Scripts
Meta-Update Trials
These scripts need Meta-Update installed and licensed to run. Trial licenses are free. supported, and come with our Live Install WebEx. Editing these Scripts
These scripts are for a development environment. It is expected that these scripts will be developed and tested before being used a production environment. With the Meta-Update debugger, you can single-step through these scripts. |
|||
Sample Meta-Update Scripts
These sample scripts primarily show just how easy Meta-Update scripting is. Meta-Update scripts provide ready-made solutions to difficult data opertations in ITSM and ARS. These well commented samples are included in the Meta-Update distribution and described in the Meta-Update User's Guide Scripts
Scripts are sorted by difficulty from 0 through 10. If you are new to Meta-Update, we recommend starting at the Simplest. We also recommend going through the Scripting 101 slide show. |
Sample | 0..10 | Dev hrs |
Function | Description |
---|---|---|---|---|
Path List | Simplist | 0.25 | Lists all path elements | Loops through the Path directories either listing them or creating a CSV. |
Path Find | Simplist | 0.25 | Find a file along any path-like environment variable. | An enhancement to Path, shows use of Until= to break a loop and spawing a client process. |
Server Info | Simplist | 0.25 | Make a CSV of all Server Info values | Useful for BMC Support tickets. Simply attach the produced file to the ticket. Simplist of scripts, Loops through all fields of the predefined tag ARS_INFO making a CSV. |
arschema Info | 2 | 0.50 | Make a CSV of a query (or all) arschema tables with record and workflow count columns | Demonstrates QuerySql= used in an Iteration and in LookUps to count records, Active Links, Filters, Guides. Demonstrates Output= to create a CSV report. |
Set Server logging | 1 | 0.50 | Switch server log files and set logging | Demonstrates an Update= and an assignment to AR_INFO, DEBUG_MODE. Functions by writing to a vendor form introduced in 7.1. |
Set Server Info | Trivial | 0.25 | Set a single Server Info value, like: Admin Mode, logging, Mid-Tier and Application passwords. | Very powerful, yet the simplist of scripts, only a single Assignment statement setting the value specified. Caution: sets dynamic server settings like admin mode, mid-tier passwords, etc. |
AI Jobs and Transforms Spreadsheet | 5 | 8.00 | Two scripts for two CSVs for Jobs and Transformations in the Atrium Integrator. | Maps for ARS output, fields, job usage. Can be configured. Demonstrates complex QuerySql=, Output=, Loop=, Launch=, @LookUp to create a very useful spreadsheet of data from the AI repository. |
Host Name Change | 4 | 8.00 | Set values after a host name change, VM replication, or database restore | Demonstrates Query=, Update=, Launch= to update a disparate set of tables. Shows how one script can be used for different functions: backup, restore, delete and change. |
Approve Changes | 4 | 4.00 | Approve a set of Changes and optionally move them to the next stage | Shows how a single script can run off three different inputs: a file, a list, or a query, then progress to the same section to effect one or two table updates. |