Return to the CL Tips
How to delete an object from QDLS using CL
Since you are using QDLS, you could use the DltDLO command ... e.g.
(DLTDLO DLO(file) FLR(directory))
If you were wanting to delete QDLS/TXT/STATEP2, you would type in the following:
DltDLO DLO(statep2) Flr(Txt)
or, you could use the Del command. Using the Del command to delete QDLS/TXT/STATEP2, you would type:
Del ObjLnk('qdls/txt/statep2')
I would personally recommend using the Del command. It gives you greater flexibility over all the different file systems supported on the
AS/400.
[report a broken link by clicking here]