Another Way To Skin A Generic Cat
June 27, 2012 Hey, Ted
I am writing in response to your recent article, Add Powerful Generic Processing to Your Applications, regarding generic processing. I have another, simpler technique that you should share with my fellow readers of Four Hundred Guru.
D’s technique is to use the Remove Link (RMVLNK) command. Here’s the example he (she?) gave me:
This command deletes device descriptions with names that begin with DUG. Notice that RMVLNK requires objects to be specified in the IFS naming convention.
You may use RMVLNK or its two aliases, DEL and ERASE, for objects other than libraries. For libraries, use the Remove Directory (RMVDIR) command or its two aliases, RMDIR and RD.
Be aware that you may run into additional restrictions when using RMVLNK and RMVDIR with the QSYS.LIB and Independent ASP QSYS.LIB file systems. You can see the help text for the appropriate DLT command for more information about restrictions.