Once you have the file created its simple text manipulation to find the uproc. For $U inbuilt client you could search for the Uproc type, in the example below the search string would be '|: FTP_*' which would match a Put or Get type uproc.
If using a script then you could search for come kind of command.
ITEMS | upr : TST_SFTP
| vupr : 000
| class :
| clfil :
| label : TEst sftp Uproc
| dom : I
| appl : U_
| upt : FTP_PUT
| shelltype :