Creating, replacing, and adding data using existing data
When you are in an Edit or View editor session, you can create data elsewhere from the data you are currently editing or viewing.
You can create or replace data in a member of a partitioned data set (PDS or PDSE) or a sequential, VSAM, or z/FS data set, using data from one or more lines of the data in the current editor session.
You can also add data to a sequential, VSAM, or z/FS data set, using data from one or more lines of the data in the current editor session.
- To create data in a new member or a new data set using one or more lines of the data in the current editor session, use the CREATE (or CREATEX) primary command. See Creating a new member or data set using data from an edit session.
- To replace data in an existing member or a data set with one or more lines of the data in the current editor session, use the REPLACE (or REPLACEX) primary command. See Replacing a member or data set using data from an edit session.
- To add data to an existing data set using one or more lines of the data in the current editor session, use the APPEND (or APPENDX) primary command. See Adding data to a data set using data from an edit session.
- To create data in a new member or a new data set using all of the data in the current editor session, use the SAVEAS (or SAVEASX) primary command. See Using all the data from an edit session to create a new member or data set.