3. The default user profile macro that the editor tries to call is CICEPROF. The CICEPROF macro creates
an ISPF/PDF like environment. A second profile macro, named CICXPROF, is provided. CICXPROF
creates a VM/CMS XEDIT like environment.
4. If a file ID or VSE Librarian sublibrary member name is not specified, an RFS file with the special
name, NONAME, is created.
EXEC
 EXEC
(1)
REXX_program
arguments

Notes:
1IfREXX_programis not specified, the last saved copy of the file that is currently being edited is
executed.
EXEC executes a REXX program within an editor session.
Operands
REXX_program
specifies the REXX program name to execute. If you do not specify a name, the last saved copy of
the file that is currently being edited will be executed. If any arguments have been defined using the
ARGS command, these will be passed.
arguments
specifies the arguments to be passed to the program specified in the REXX_program operand.
Return Codes
nspecifies the return code set by the exit of the called exec
0Normal return
-3 Exec not found
-10 Exec name not specified
-11 Invalid exec name
-12 GETMAIN error
-99 Internal error
Example
'EXEC TEST1.EXECXYZ'
This example executes program TEST1.EXEC and passes X,Y, and Zas arguments.
FILE
 FILe
(1)
fileid

Notes:
1Iffileidis not specified, the file is saved as the default file ID.
FILE saves the current file being edited.
Text Editor
Chapter 18. REXX/CICS TextEditor 241