I accidently created a GSO SAFDEF without a qualifier. How do I delete it so I can define it properly with a qualifier? Similarly, if I defined a GSO record with a masking character, eg, * or - in the qualifier, how do I delete it?
To delete the GSO record without a qualifier, issue
The LIST SAFDEF will display only the one SAFDEF record with that record id. You can then issue an
to delete that specific record.
To delete a GSO record that has a masking character in the qualifier care must be taken to ensure the correct record id is deleted.
The following can be used to illustrate the problem
will list only the one SAFDEF record that has a qualifier of '*'.
Similarly, a LIST SAFDEF.- would list only a SAFDEF that has a qualifier of '-'.
The problems arise when the "LIKE" parameter is used
will list ALL records that BEGIN with SAFDEF.
If you issue a DELETE LIKE(SAFDEF.-) ALL records that begin SAFDEF. will be deleted.
So, if you want to delete multiple records use "DELETE LIKE"
If you want to delete just a single record use "DELETE"