EDIT
.-NONAME--------------------------. >>-EDIT--+---------------------------------+--------------------> +-fileid--------------------------+ '-lib.sublib--(--mem.type--)--LIB-' >--+---------------------+------------------------------------->< '-(--MACRO--macroname-'
EDIT opens a new edit session.
Operands
- NONAME
- a file ID is not specified. This is the default.
- fileid
- specifies the file ID of the file to be created or edited.
- lib.sublib(mem.type)
- specifies a VSE Librarian sublibrary and member to be edited.
- LIB
- is a keyword that follows a VSE Librarian sublibrary member name when a sublibrary member is being edited.
- MACRO
- is a keyword specifying a group of instructions applied to the file being edited.
- macroname
- specifies the file name portion of the profile macro file ID (REXX exec name).
Return codes
- 0
- Normal return
- 201
- Invalid command
- 204
- Not authorized
- 211
- Invalid file ID
- 226
- File is currently being edited
- 237
- CICSECX1 link error
- 238
- CICSECX1 return code was invalid
- 299
- Internal error
Example
'CD \USERS\USER2\' /* specify current working directory */
'EDIT TEST.EXEC' /* edit an existing file in the PATH */
/* or create new file in current dir */
This example edits member TEST.EXEC in directory \USERS\USER2.
Note
Refer to REXX/CICS text editor for more information about the REXX/CICS editor.
