Examples of OPEN

Example:

	SET sd="report.dat" OPEN sd:NEWVERSION 
	

This OPENs a NEWVERSION of a sequential disk file named "report.dat" for both read and write access. The process has sole access to the file.

	SET mb="sync1" OPEN mb:(PRMMBX:WRITEONLY)
	

This OPENs a permanent mailbox restricted to writing.