Previous Topic   Next Topic   Contents   Commands
by Function
  Commands
Alphabetically

WRITE Command

WRITE { ON LFN | OFf | Reuse | Unique }

Echo all commands to the journal file LFN or not. The default name for the journal file is ttyinp or a unique name formed by changing the last letter.

WRITE ON enables writing to the journal file;

WRITE OFF disables it.

REUSE and UNIQUE control the proliferation of journal files. The journal file ttyinp is REUSEd on each Sabrina execution or a new file is created with a UNIQUE name. The unique file names are formed by starting with ttyin and incrementing the last letter, resulting in files ttyinq, ttyinr, ttyins... ttyinz, ttyina....

WRITE MCNP ...

Handling of MCNP command in reading and writing Journal File

WRITE MCNP [ NEW | OLD | CHECK { ON | OFf } | ECHO { ON | OFf } ]

WRITE MCNP specifies how MCNP LFN command is handled in writing journal file AND when MCNP is encountered when READing from any file, journal or otherwise. Current settings are reported if no argument given.

Writing TO the Journal File

NEW (default) ``MCNP LFN '' is written to the journal file, MCNP input from LFN is not written to journal file.
OLD MCNP LFN and MCNP input written to journal file.
ECHO When in NEW mode, MCNP and MCNP input written. No effect in OLD mode. Default is ECHO OFF.
CHECK Does not affect writing.

READing FROM a File

NEW Input file LFN and interpret as MCNP input. If LFN absent, interpret following lines as MCNP input.
OLD Ignore LFN, interpret following lines as MCNP input.
CHECK If following lines look like MCNP input, ignore LFN. Assume MCNP input if first line after next without a c in column 1 starts with an integer. Default is CHECK OFF.
ECHO Does not affect reading.