IBM SC34-5764-01 Server User Manual


 
EDIT
 EDIT
NONAME
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
211 Invalid file ID
226 File is currently being edited
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 Chapter 18, “REXX/CICS Text Editor,” on page 231 for more information about the REXX/CICS
editor.
Commands
340
CICS TS for VSE/ESA: REXX Guide