enoft Manual

Introduction to eNOFT and ar
eNOFT Manual527507-005
1-2
Starting eNOFT
Starting eNOFT
The eNOFT utility can be used as an interactive or batch process.
Interactive (Command-Line) Mode
eNOFT launches and runs as an interactive process if no command is specified. In
addition, the PC version of eNOFT can also be launched by double-clicking on its file
name.
eNOFT can perform most tasks from the terminal prompt by specifying the commands
serially on the command line. eNOFT terminates after the last command is processed.
Unless NOEXIT is specified, the EXIT command is not required to terminate the eNOFT
process.
In Guardian,
ENOFT [ <COMMAND1>; <COMMAND2>; ... ]
whereby commands must be separated by the delimiter semicolon ";". An example
follows:
>ENOFT FILE $VOL.SUBVOL.HELLOOUT; SET FORMAT INNERLIST; DUMPCODE
For OSS and PC Windows, if the commands contain characters that are considered
special to that shell environment such as spaces and semicolons, the commands must
be surrounded by double quotes or prefixed with backslashes to prevent the shell
environment from trying to parse the eNOFT commands. See examples for OSS below:
>enoft "file /usr/subdir/hello.out; set format innerlist; dumpcode"
or
>enoft file /usr/subdir/hello.out\; set format innerlist\; dumpcode
Alternately, commands may be prefixed with a hyphen in OSS and PC Windows:
enoft [ command1 -<command2> ... ]
whereby commands must be separated by delimiter blank space and prefixed with a
hyphen " -". Use of the prefix for the first command is optional.
An example on PC Windows,
>enoft file c:\dir\hello.exe -set format innerlist -dumpcode
Batch (Command File) Mode
eNOFT can be run as a batch process by issuing commands through a command
(obey) file as follows:
In Guardian:
ENOFT / IN INFILE [, OUT OUTFILE ] /
In OSS or PC Windows:
enoft < infile [ > outfile ]