Procedure 6

Write String

capability

 

pathname length

 

pathname

 

string type

string number

string length

 

string

 

REQUEST

If the access capability is valid and the spectrum defined by pathname exists then the string of type string type identified by string number is defined with the contents of the string parameter string.

procedure status

RESPONSE

procedure status indicates the result of the request.

0

success

3

invalid capability

4

invalid pathname

5

invalid parameter value

6

pathname not a spectrum

procedure status

XDR Specification

procedure   WriteString (cap, path, stype, snumber, data)   return(status)
            capability   cap;
            pathname   path;
            stringtype   stype;
            stringid   snumber;
            string   data <>;
            stat   status;

Implementation

Any existing string is overwritten and an existing string may be undefined by use of a Write String procedure request with a null length string.
String type and string number are as defined for the Read String procedure.