Z-MEMSHP

This document covers the following topics:


Description

Return a list of shared and private cabinets that a user (as specified in the parameters Cabinet and Password) is allowed to use.

The list contains all shared cabinets of which the user is a member and all private cabinets which the user has been authorized to use.

This subprogram should be invoked iteratively until the return code 77 indicates the end of the list.

Note:
In contrast to Z-MEMCAB, an administrator cannot use this subprogram in order to list cabinets of which he is not a member.

Parameters

Parameter Format In Out Remarks
Return-code N2 O X Input -1: no ET.
Cabinet A8 R   The ID of the user's cabinet.
Password A8 R   The password of the above cabinet.
Start-cabinet A8 O   Start value. The name of a cabinet. If Start-cabinet is not specified, a list of all cabinets that the user is allowed to use is returned.
Table (20)
  Cabinet-name
A8   X The name of the cabinet that the user is allowed to use.
  Cabinet-type A1   X S=shared cabinet, P=private cabinet.
Work-parameter A8     For internal use. See The Work Parameter.

Return Codes

00 Success
02 Invalid cabinet name or - in batch mode only - locked cabinet
03 Password incorrect
77 End of list

Subprograms

Z-120
Z-122
Z-123
Z-1200&0