MPE/iX - CI Programming for Stability
July 18, 2008 HP World '01 83
CI I/O redirection
• > name - redirect output from $STDLIST to “name”
• “name” will be overwritten if it already exists
• file will be saved as “name”;rec=-
256,,v,ascii;disc=10000;TEMP
• file name can be MPE or POSIX syntax
• >> name - redirect, append output from $STDLIST to “name”
• same file attributes for “name” if it is created
• < name - redirect input from $STDIN to “name”
• “name” must exist (TEMP files looked for before PERM files)
• I/O redirection has no meaning if the command does not do I/O to
$STDIN or $STDLIST
• available on all commands, except:
• IF, ELSEIF, SETVAR, CALC, WHILE, COMMENT, SETJCW, TELL,
TELLOP, WARN.