While testing an API to create mainframe accounts from IIQ, a tester created two IDs (abc0127, Aaa0500) that contain lowercase letters. The API is unable to delete these IDs. How can a delete of an ID that contains lowercase characters be done?
Release : 16.0
Component : CA ACF2 for z/OS
To delete logonids with invalid or lower case characters in the logonid the following can be done from TSO ACF.
If the logonids in question abc0127 or Aaa0500 can be listed alone the DELETE * command can be used. The "DELETE *" will only delete the logonids that were just listed, so as long as only the one desired logonid is listed the "DELETE *" will only delete that one logonid.
For the logonid abc0127 you can do the following:
ACF
LIST LIKE(***0127)
* IF only abc0127 is listed/displayed issue the following DELETE command
DELETE * (Or DELETE LIKE(***0127))
If more than one logonid is listed with LIST LIKE(***0127) you can add IF criteria to try to single out just logonid abc0127. Some examples:
LIST LIKE(***0127) if(NAME = 'abc0127')
LIST LIKE(***0127) IF(SECURITY)
LIST LIKE(***0127) if(CRE-TOD = d'09/30/20')
Note the CRE-TOD is the date the logonid was created.
For logonid Aaa0500 you can do the following:
ACF
LIST LIKE(A**0500)
* IF only Aaa0500 is listed/displayed issue the following DELETE command
DELETE * (Or DELETE LIKE(A**0500))