Skip to main content

3A. Op Codes

The first information (i.e., not descriptor) byte of control transactions indicates the control function. This byte is referred to as "opcode". A standard set of opcodes are defined below. The operations are discussed in Section 3B.2.

Implementation of a workable subset (*) of opcodes is specifically permitted. Additional standard opcodes may be assigned later. Opcodes hex 5A (octal 100) through hex FF (octal 377) are for experimental use.

 Op Code                          Operation
Hex Octal

00 000 Set data type identifier

01 001 Retrieve Request

02 002 Create request (write file; error if
file already exists)

03 003 Store request (write file; replace
if file already exists)

04 004 Append request (add to existing file;
error if file does not exist)

05 005 Append_with_create request (add to
file; create if file does not exist)

06 006 Delete request (delete file)

07 007 Rename_from request (change file name)

08 010 Rename_to request (the new file name)

09 011 List request (list information)

0A 012 Username identifier (for access control)

0B 013 Password identifier (for access control)

0C 014 Error or unsuccessful terminate

0D 015 Acknowledge or successful terminate

0E 016
through through Reserved for standard assignment
4F 077

5A 100
through through Assigned for experimental use
FF 377

(*) A workable subset is any request, plus terminates. Identifiers may be required in addition for using "protected" file systems.