REDIR | NOREDIR (C only)

Derivation: REDIRection

REDIR specifies if you can redirect stdin, stdout, and stderr from the command line.

Restriction: This option can only be specified with the #pragma runopts directive or the REDIR and NOREDIR compiler options.

The default value for non-CICS applications is REDIR.

REDIR is ignored under CICS®.

The default value for AMODE 64 applications is REDIR.

Read syntax diagramSkip visual syntax diagram
Syntax

   .-REDIR---.   
>>-+-NOREDIR-+-------------------------------------------------><

REDIR
Specifies that you can redirect stdin, stdout, and stderr from the command line. REDIR applies only if ARGPARSE is also specified or defaulted.
NOREDIR
Specifies that you cannot redirect stdin, stdout, and stderr from the command line.

For more information

See ARGPARSE | NOARGPARSE (C only) for a description of ARGPARSE.