Supplying a REXX procedure when using the Import utility

You use the Use REXX proc field on the Import From panel to supply the REXX procedure:
/ Use REXX proc member  

If you enter an * (asterisk) as the member name, FM/Db2 displays an edit panel where you can enter a temporary procedure for one time use. Use this method only for short, ad hoc procedures that you do not want to keep for future use.

Alternatively, you can allocate an FMNEXEC DD that identifies a PDS where your saved REXX procedures reside. If you specify a member name, File Manager either edits a new member or runs with an existing member. Specifying 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 REXX procedures in a PDS called 'USERID.FMNEXEC' then, before using the Use REXX proc field, you must issue a TSO ALLOC command similar to this:
TSO ALLOC DD(FMNEXEC) DSN('USERID.FMNEXEC') SHR

In each case, FM/Db2 validates the REXX procedure that you supply. If errors are detected, FM/Db2 shows all detected errors in a message box and opens the procedure in an edit panel which you can use to correct it. Canceling the Edit session clears the Use REXX proc field and redisplay the entry panel.