Victor, There are good examples of using rexx with the rmm subcommands. Did you see this section http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2r390/9.5?SHELF=EZ2ZBK0K&DT=20100623164750 in the rmm MURM? It points to EDGXMP1 and EDGXMP2. They should how to use searchxxx sucommands and issue subsequent listxxx subcommands.
In addition the execs used in the rmm dialog have many more examples. As others have said, if you can avoid writing an exec - this may be better. See the rmm Reporting book for standard repost and customisable rexx reports that can be used. Also the report generator allows very easy customization of existing sample reports which are produced using DFSORTs ICETOOL. Mike Wood ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN