Under the RLS command environment you issue commands to interface with RLS. If you set the command environment to RLS, you should not specify RLS in front of RLS commands.
'RLS READ \USERS\USER1\TEST.DATA DATA.'
This example reads the contents of the RLS list \USERS\USER1\TEST.DATA into the DATA. REXX compound variable.
The syntax for the RLS commands follow.