How to: |
The parameter NEW in the USE command identifies data sources that do not exist yet. When you identify a new data source, you can accept the default file specification conventions or specify different ones.
You must allocate the data source, with the z/OS command ALLOCATE or the FOCUS command DYNAM, before you issue the USE command.
USE fileid NEW END CREATE file mastername
where:
Is any valid ddname. The file ID will be assigned to the data source later in the session when the actual create happens.
The FOCUS data source will be created as a temporary file unless you previously allocated a permanent data source to the ddname in the USE command.
Is the name of the Master File associated with the data source.
If you omit the NEW parameter, a message is returned stating that the data source cannot be found, and the USE command is not executed.
To create the data source WAGES using the WAGES Master File, enter the following:
USE WAGES NEW END CREATE FILE WAGES