MIKESTREE
MTREE
Summary
MIKES_TREE displays a list of groups and/or libraries in a user and allows actions to be performed on selected groups and/or libraries, including executing MIKES_FILE_MANAGER on them. The list can be paged forwards and backwards. The START_FROM, STOP_AFTER, FILEMASK and TARGET parameters are not used by MTREE itself, but are passed to MFM whenever that is called. MTREE can also call itself to descend through a group structure.
MIKES_TREE(
@literal@ | NAME | := "", |
@literal@ | LIBRARIES | := "Y", |
@literal@ | GROUPS | := "Y", |
@literal@ | STARTFROM | := "", |
@literal@ | STOPAFTER | := "", |
@literal@ | FILEMASK | := "", |
@literal@ | SIZE | := "", |
@literal@ | AGE | := "", |
@literal@ | TARGET | := "", |
@literal@ | ACTION | := "", |
@literal@ | AUTO_PAGE | := "Y", |
@response@ | RESPONSE | := RESULT) |
Parameter details
Keyword | Meaning | Default |
---|---|---|
NAME |
Identifies a group to be processed
= groupname |
The current user will be processed |
LIBRARIES |
Specifies whether libraries are to be shown in the list
= Y, YES = N, NO |
Y |
GROUPS |
Specifies whether groups are to be shown in the list
= Y, YES = N, NO |
Y |
STARTFROM |
Indicates where the MFM display is to start
= filename or alphanumeric string |
|
STOPAFTER |
Indicates where the MFM display is to stop
= filename or alphanumeric string |
|
FILEMASK |
Indicates a string or strings which identify files to be
selected in MFM
= alphanumeric string |
|
SIZE |
Indicates the size or range of sizes of files to be selected
in MFM
= alphanumeric string |
All files are displayed |
AGE |
Indicates the age or range of ages of files to be selected
in MFM
= alphanumeric string |
All files are displayed |
TARGET |
The name of the object which is the target of Copy actions (and
user-defined actions, see below) in MFM
= group_name |
|
ACTION |
Defines a command which can be invoked by the 'A' action in MFM.
= command_line |
|
AUTO_PAGE |
Defines whether the display will page automatically or must
specifically be paged through using the 'F' command.
= Y display will be automatically paged This may be switched while in MFM (Autopage action) |
Display pages automatically |
RESPONSE | Response code variable | RESULT |
Group/library actions:
When showing selected groups/libraries
D | display group or library details |
H | display help screen |
L | list contents of group or library |
M | execute MFM on group or library |
Q | query (list contents, then check if group or library is to be deleted) |
T | execute MTREE on group |
X | mark group or library for deletion |
When showing groups or libraries marked for deletion
D | display group or library details |
H | display help screen |
L | list contents of group or library |
U | unmark group or library for deletion |
Page actions:
N | next page |
P | previous page |
F | first page |
L | last page |
D | show items marked for deletion |
U | show items not marked for deletion (normal mode) |
A | toggle autopaging on/off |
Q | quit |