Under the RFS command environment you issue commands to interface with RFS. If you set the command environment to RFS, you should not specify RFS in front of RFS commands.
'RFS DISKR POOL1:\USERS\USER1\TEST.EXEC DATA.'
This example reads the contents of the RFS file TEST.EXEC into the REXX compound variable DATA. TEST.EXEC is in the fully qualified directory: POOL1:\USERS\USER1\.
The syntax for the RFS commands follow.