Hi Stephan,
The zSecure function called Delete in the interface is the CARLa command REMOVE USER.
At a first cut level, it is a matter of generating REMOVE USER=userid commands.
(And depending on the extra options you would specify, you would add some SUPPRESS commands and the like.)
That can be done in various ways with using DEFTYPE and DEFINE to map the contents on the external file and then run a query like
DEFTYPE TYPE=$
ALLOC TYPE=$ DSN=my.data.set
DEFINE userid as <something-based-on-external-file-layout>
NEWLIST TYPE=$
SORTLIST 'REMOVE USER=' | userid
And then the resulting commands could be run in a different step or pass.
Regards,
------------------------------
Jeroen Tiggelman
IBM - Software Development Manager IBM zSecure
Delft
------------------------------