CHECK command reference
Check to see if a transfer has occurred within a given specification, or check the age of file or directory.
CHECK –TRA|-FIL|-DIR -IN|-OUT -VER -REC "source" | "destination" | "path"
OccurredWithin= | Age=
[Class]=SLA|KPI
[Subclass]=
[ConditionsMet]=
[Status]=
[Count]=
[Edi.Interchange.Sender]=
[Edi.Interchange.Receiver]=
[Edi.FunctionalGroup.Sender]=
[Edi.FunctionalGroup.Receiver]=
[Edi.Transaction.Type]=
- -TRA
- Check that a transfer has occurred.
- -FIL
- Check a file age or existence.
- -DIR
- Check a directory age or existence.
- -IN
- Check an inbound transfer. This option is only applicable to
CHECK -TRA
operations. - -OUT
- Check an outbound transfer. This option is only applicable to
CHECK -TRA
operations. - -VER
- This option is only applicable to
CHECK -FIL
andCHECK -DIR
operations. In addition to loggingFILE
elements for files/directories that meetCHECK -FIL/-DIR
requirements, also log informationalFILE
elements for those files that match the path but do not meet the other requirements, for example, age. - -REC
- Recursively search all subdirectories. This option is only applicable to
CHECK -FIL/-DIR
operations. Note that it is the last path token (file or directory) that is searched for in recursive operations. "source"
-
Local source path for an outbound (
-OUT
) transfer check.- The path can be to a filename or to a directory.
*
and?
, or a regular expression, are supported in filename, as well as each level of the path. See Using wildcards and regular expressions for additional information. Wildcards are only available on the CHECK command.- The final token of the path should be explicitly specified, either as a specific name or a wildcard/regular expression.
- If you specify a relative path, it uses the default outbox for remote hosts and the user home directory for local user mailbox-based actions. For local user host-based actions, the default root directory is used.
- Macro variables are supported. See Using Macro Variables (Source File context) for a list of the applicable macros.
"destination"
-
Local destination path for an inbound (
-IN
) transfer check.- The path can be to a filename or to a directory.
*
and?
, or a regular expression, are supported in filename, as well as each level of the path. See Using wildcards and regular expressions for additional information. Wildcards are only available on the CHECK command.- The final token of the path should be explicitly specified, either as a specific name or a wildcard/regular expression.
- If you specify a relative path, it uses the default inbox for remote hosts and the user home directory for local user mailbox-based actions. For local user host-based actions, the default root directory is used.
- Macro variables are supported. See Using Macro Variables (Destination File context) for a list of the applicable macros.
If the path contains a space, dash (-), comma (,), or equal sign (=), it must be enclosed with double quotes ("...").
"path"
-
Local path for a file/directory check.
- The path can be to a filename or to a directory.
*
and?
, or a regular expression, are supported in filename, as well as each level of the path. See Using wildcards and regular expressions for additional information. Wildcards are only available on the CHECK command.- The final token of the path should be explicitly specified, either as a
specific name or a wildcard/regular expression. When a file
(
-FIL
) path ends with/
or\
, a*
is automatically added to the path. - If you specify a relative path, it uses the default inbox for remote hosts and the user home directory for local user mailbox-based actions. For local user host-based actions, the default root directory is used.
- Macro variables are supported. See Using Macro Variables (Source File context) for a list of the applicable macros.
If the path contains a space, dash (-), comma (,), or equal sign (=), it must be enclosed with double quotes ("...").