/* <maxl version="7.0.0" encoding="UTF-8"/> */ /** * This script deregisters methods of the class Statistics as custom-defined functions * for a specified application * Usage: Log in to MaxL Shell, then call: msh drop.mxl appname * */ /** * Deregister all functions */ DROP FUNCTION $1.'@JAVG'; DROP FUNCTION $1.'@JAVGW'; DROP FUNCTION $1.'@_JAVGS'; DROP FUNCTION $1.'@_JAVGWS'; DROP MACRO $1.'@JAVGS'; DROP MACRO $1.'@JAVGWS'; DROP FUNCTION $1.'@JCORR'; DROP FUNCTION $1.'@JCORRW'; DROP FUNCTION $1.'@JCOUNT'; DROP FUNCTION $1.'@_JCOUNTS'; DROP MACRO $1.'@JCOUNTS'; DROP FUNCTION $1.'@JCOVAR'; DROP FUNCTION $1.'@JCOVARW'; DROP FUNCTION $1.'@JGEOMEAN'; DROP FUNCTION $1.'@JGEOMEANW'; DROP FUNCTION $1.'@JHARMEAN'; DROP FUNCTION $1.'@JHARMEANW'; DROP FUNCTION $1.'@JKURT'; DROP FUNCTION $1.'@JKURTW'; DROP FUNCTION $1.'@JMAX'; DROP FUNCTION $1.'@JMEDIAN'; DROP FUNCTION $1.'@JMIN'; DROP FUNCTION $1.'@JMODE'; DROP FUNCTION $1.'@JPTILE'; DROP FUNCTION $1.'@JPROD'; DROP FUNCTION $1.'@JPRODW'; DROP FUNCTION $1.'@JQTILE'; DROP FUNCTION $1.'@JRANK'; DROP FUNCTION $1.'@JSKEW'; DROP FUNCTION $1.'@JSKEWW'; DROP FUNCTION $1.'@JSTDEV'; DROP FUNCTION $1.'@JSTDEVW'; DROP FUNCTION $1.'@_JSTDEVS'; DROP FUNCTION $1.'@_JSTDEVWS'; DROP MACRO $1.'@JSTDEVS'; DROP MACRO $1.'@JSTDEVWS'; DROP FUNCTION $1.'@JSTDEVP'; DROP FUNCTION $1.'@JSTDEVPW'; DROP FUNCTION $1.'@_JSTDEVPS'; DROP FUNCTION $1.'@_JSTDEVPWS'; DROP MACRO $1.'@JSTDEVPS'; DROP MACRO $1.'@JSTDEVPWS'; DROP FUNCTION $1.'@JSUM'; DROP FUNCTION $1.'@JSUMW'; DROP FUNCTION $1.'@JVAR'; DROP FUNCTION $1.'@JVARW'; DROP FUNCTION $1.'@_JVARS'; DROP FUNCTION $1.'@_JVARWS'; DROP MACRO $1.'@JVARS'; DROP MACRO $1.'@JVARWS'; DROP FUNCTION $1.'@JVARP'; DROP FUNCTION $1.'@JVARPW'; DROP FUNCTION $1.'@_JVARPS'; DROP FUNCTION $1.'@_JVARPWS'; DROP MACRO $1.'@JVARPS'; DROP MACRO $1.'@JVARPWS'; /** * Restart the application */ ALTER SYSTEM UNLOAD APPLICATION $1; ALTER SYSTEM LOAD APPLICATION $1;