Supplying a procedure when using a File Manager panel

If you are using one of the File Manager panels that supports enhanced processing, specify the procedure name in the Use proc or Use REXX proc field on the panel:
/ Use proc ________

If you enter an * (asterisk) as the proc name, then File Manager displays an ISPF edit panel where you can enter a temporary procedure for one time use. Use this method only for short, ad hoc procedures. If you want, you can use ISPF's CREATE command to save the procedure for later use.

Alternatively, you can allocate an FMNEXEC DD that identifies a PDS where your saved procedures reside. If you specify a member name, then File Manager either edits a new member or runs with an existing member. Specifying a blank or a pattern other than * displays a member selection list of the PDS allocated to FMNEXEC. Concatenated FMNEXEC data sets are not supported under ISPF.

For example, if you store your procedures in a PDS called 'USERID.FMNEXEC' then, before using the Use proc field, you must issue a TSO ALLOC command similar to the following:
TSO ALLOC DD(FMNEXEC) DSN('USERID.FMNEXEC') SHR

If errors are detected in the procedure when the function is run, File Manager displays the errors in a message box. Correct the errors and rerun the function.