HELP: Executes simply functions TYPE: OBJECT SYNTAX: > flcl UTIL(NET.{},RUN.{},OUT='str'/STDOUT/STDERR/DUMMY,DIR(),LOG())
The UTIL command executes a function on a wildcard-based list of files. This command allows to run simple system functions like deleting or listing files that match a provided pattern which may contain wildcards. This is mainly useful on mainframe systems, for example, to find all libraries containing a certain member or to delete any kind of file under a certain qualifier.
The UTIL command prints only minimal log output. For a more verbose output (e.g. notices), please use the log object (see examples below).
To get syntax information, please use:
flcl SYNTAX UTIL
To get help for a parameter, please use:
flcl HELP UTIL.parameter[.parameter[...]]
To read the manual page for a parameter, please use:
flcl MANPAGE UTIL.parameter[.parameter[...]] or flcl HELP UTIL.parameter[.parameter[...]] MAN
To generate the user manual for a command, please use:
flcl GENDOCU UTIL=filename
Parameters can be defined by the command line (directly or per file) or by properties read from the corresponding property file.
flcl UTIL run.list='**(CSFMOD01)' # list all libs containing this member flcl UTIL run.remove='~.TEST.**' # deletes all test files under SYSUID flcl UTIL run.remove='*.txt' log(message(default)) # activate default logging