Change File Server Share (QZLSCHFS) API


  Required Parameter Group:


  Optional Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Change File Server Share (QZLSCHFS) API changes the information about a shared portion of the integrated file system.


Authorities and Locks

To use this API, you must have *IOSYSCFG special authority or own the integrated file system directory.


Required Parameter Group

Share name
INPUT; CHAR(12)

The name of the share to be changed.

Path name
INPUT; CHAR(*)

The path in the integrated file system to be shared with the network. A forward slash, '/', is required as the first character.

Length of path name
INPUT; BINARY(4)

The length, in bytes, of the path name. The maximum length is 1024 bytes.

CCSID encoding of path name
INPUT; BINARY(4)

The coded character set ID (CCSID) of the path name and the file extension table entries. 0 will result in the current job CCSID being used.

Text description
INPUT; CHAR(50)

The text description for this share.

Permissions
INPUT; BINARY(4)

The access available from the network for this share. Possible values follow.


Maximum users
INPUT; BINARY(4)

The maximum number of users who can concurrently access this share.

This value must be greater than or equal to zero, or -1 (X'FFFFFFFF'), which means there is no limit to the number of users who can concurrently use this share.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Optional Parameter Group

CCSID used for text conversion
INPUT; BINARY(4)

The client CCSID that is used for text file data conversion. Text file data conversion is performed using this CCSID and the current CCSID of the system file.

A value of 0 indicates that the user would like to use the currently configured CCSID for the server. See Get Related Default CCSID (CDRGRDC) API for additional information on related CCSIDs.

If the CCSID used for text conversion parameter is omitted, the API assumes that no change is requested and the current value remains unchanged.

Enable text conversion
INPUT; CHAR(1)

Whether the server enables text conversion for this share. Possible values are:

If the enable text conversion parameter is omitted, the API assumes that no change is requested and the current value remains unchanged.

File extension table
INPUT; CHAR(*)

An array of table entries. There is no limit to the number of values specified. For the layout of a table entry, see Format of File Extension Table Entry.

If the file extension table parameter is omitted, the API assumes that no change is requested and current values remain unchanged. If the file extension table parameter is specified, the number of table entries parameter must be specified also.

Number of table entries
INPUT; BINARY(4)

The number of table entries.

If the number of table entries parameter is left out, the API assumes that no change is requested and the current value remains unchanged. If the number of table entries parameter is specified, the file extension table parameter must be specified also.


Format of File Extension Table Entry

The following table shows the format of a file extension table entry. For detailed descriptions of the fields in the table, see Field Descriptions.



Field Descriptions

File extension. A file extension string that is null-terminated. Possible values include:

Length of file extension. The size in bytes of the file extension. The length does not include the byte used for null-termination.


Error Messages



API introduced: V4R2

[ Back to top | Server Support APIs | APIs by category ]