Edit macro KILL Edit macro KILL Author: David McRitchie formatted on 1995/04/01 06:54 for assistance contact: D. McRitchie DMcRitchie@hotmail.com -------------------------------------------------------------------------------- Macro name. KILL users. PDF EDIT users type. Edit Macro resides in SYS1.TSOCLIST -------------------------------------------------------------------------------- KILL Deletes indicated member from the PDS of the member under EDIT -------------------------------------------------------------------------------- related (none) -------------------------------------------------------------------------------- The KILL edit macro provides an easy method to eliminate members one at a time from a source type PDS library. In the past one had to re- sort to the use of ISPF option 3.1; or as an alternative to EDIT dif- ferent member in the library and move the unwanted member in then terminate with CANCEL. To use the KILL edit macro you must first edit any member in the PDS library from which you want to delete (kill) a member. You can KILL the same member that you are currently editing, in which case don't forget to use CANCEL when you exit from editing the member. -------------------------------------------------------------------------------- ISREDIT KILL membername -------------------------------------------------------------------------------- membername (required) is the member which is to be deleted. It must exist in the same library as has a member cur- rently in edit, the specified membername will be de- leted (no verification required). Examples: EDIT --- IS03.SHARE.TEXT(JUNK) - 01.00 ---------------------- COLUMNS 001 124 COMMAND ===> kill junk2 SCROLL ===> CSR ****** ********************* TOP OF DATA ****************** 000001 000002 Note: 000003 The library being edited is "IS03.SHARE.TEXT" and the current 000004 member being edited is "JUNK". 000005 000006 The KILL macro is being issued to delete member "JUNK2" from the 000007 library of the member currently in edit. 000008 000009 As a result of the command, the "JUNK2" member will be deleted 000010 from "IS03.SHARE.TEXT" since this dataset name appears at the 000011 top of the EDIT panel. 000012 ****** ************************* BOTTOM OF DATA Internal Aspects: Library Management routines are used. Success or failure will be indi- cated.