www softwaretoolhouse com MetaUpdate Training Running Scripts Software













- Slides: 13
www. softwaretoolhouse. com Meta-Update Training Running Scripts Software Tool House Inc. www. softwaretoolhouse. com Updated: 2010 -May-03
Running www. softwaretoolhouse. com Running Meta-Update Binaries • Runs in a Command Prompt or UNIX shell. • All Software Tool House Binaries give Usage information when run with no arguments. • May be fired from workflow, batch or script files, cron jobs
Running www. softwaretoolhouse. com Ideal Command Prompt Settings Adjust Properties of a Command Prompt Ø Increase Buffer Width and Depth
Running www. softwaretoolhouse. com Ideal Command Prompt Settings Adjust Properties of a Command Prompt Ø Turn on Quick Edit Mode
Running www. softwaretoolhouse. com Ideal Command Prompt Settings
Running www. softwaretoolhouse. com Initialize Command Prompt • Set PATH path D: AppsSTHbin; %path% export PATH=/apps/STH/bin: $PATH export LD_LIBRARY_PATH=/apps/STH/bin: $LD_LIBRARY_PATH
Running www. softwaretoolhouse. com Initialize Command Prompt • Set Meta-Update license, server connectivity environment variables set set set Ars. Svr=localhost Ars. Port=0 Ars. Usr=Demo Ars. Pwd=Sth. Mupd. Lic=Xxxx-Xxxx
Running www. softwaretoolhouse. com cygwin • Highly recommended – in general – especially for handling large files and logs • Install, learn, run Windows “CYGWIN” – Free, open source UNIX-like shells for Windows – www. cygwin. com
Running www. softwaretoolhouse. com Sth. Mupd. exe • Meta-Update binary • Supply script name and entry section • Two versions: local trace and global trace • Appends to Sth. Mupd. log
Running www. softwaretoolhouse. com Meta-Update Version 4. 80 for ARS lib 7. 0 (c) Copyright 1996 -2010 by Software Tool House Inc. www. softwaretoolhouse. com Function: Sth. Mupd will process the Meta-Update script commands from the specified script file, and update or create ARS records based on input files or queries as specified in the script. Synopsis: Sth. Mupd [ -d [: x[, [y][, f]] ] [ -n ] [ -q ] [ -e ] [ -v ] script-file section [ Ar. Svr Ar. Usr Ar. Pwd [ Ar. Port ] [ -p [ Prm 001 [ Prm 002 [ Prm 003. . ] ] where: -d specifies the tracing level(s) -d specifies full tracing with no ARS tracing -d: x, y, f x specifies tracing levels (fdp 2 as) y ARS client tracing flags (fsap) f is the tracing file name (local or global) Warning: produces large output and slows throughput. -q Quiet: inhibit all output to stdout -e single Error: job terminates when any error is encountered used more when developing script -v Verbose: simply turns on all echo trace levels; same as -d: iqgp -n is null operation, no update is performed (for testing) script-file is the Meta-Update script file to process section the first command section to process in the script file Ar. Svr ARS Server name or ip Ar. Usr ARS User name Ar. Pwd Password for User Ar. Port for Server -p place marker; all following arguments are defined Prm 001 and used within the script. Prm 002 Prm 003
Running www. softwaretoolhouse. com Meta-Update 155234. 109 155234. 750 155234. 765 155234. 953 155234. 968 155234. 984 Version 4. 80 for ARS lib 7. 0 (c) Copyright 1996 -2010 by Software Tool House Inc. www. softwaretoolhouse. com i [Load] Fle: rec 1: "f 0 1", "f 1 ""1""-x", "f 2 1" i [Load] Fle: rec 1: Added to schema: _Test, Id: _Test 0000000145 i [Load] Fle: rec 2: "f 0 ""2""-x", "f 1 2", "f 2 2" i [Load] Fle: rec 2: Added to schema: _Test, Id: _Test 0000000146 i [Load] Fle: rec 2: Ff. Df. Get: eof on xx. x; 2 records read + 1 st field record i [Load] Fle: eof 2 records OK; 0 records with errors; total: 2 plus 0 spanned lines and 0 null lines. i Statistics: i Sections: 1 i Maximum section depth: 1 i Assignment Sections: 2 i File Sections: 1 i File Records: 2 errors: 0 i Output Schema records: 2 created i Output Schema records: 0 updated (with 0 skipped) i Outputs OK: 2 i Outputs Errors: 0 i Outputs Aborts: 0 i Input Errors: 0 i terminating successfully in 2 sec.
Running www. softwaretoolhouse. com Meta-Update Switches • -e • -d filter, • -v • -g single error mode Stops after any single error. full logging, server logging: SQL, API more verbose Meta-Update debugger
More Information www. softwaretoolhouse. com Contact www. Software Tool House. com Ø Binaries: http: //www. softwaretoolhouse. com Ø Download the Manual. Ø Look at the sample scripts. Ø Pick up a trial license. Ø See Contact Us at www. softwaretoolhouse. com Ben Chernys +49 171 380 2329