How to: |
You can identify a data source that does not exist yet. When you identify a new data source, you can accept the default file specification conventions or specify different ones.
Note: For z/OS, you must allocate the file before issuing the USE command. You can do this using the z/OS command ALLOCATE or the WebFOCUS command DYNAM. You must also issue the z/OS command CREATE to physically create the file. This is not a requirement for platforms that dynamically allocate files.
USE fileid NEW END
where:
Is any valid file specification for the operating system. The file ID will be assigned to the data source when it is created.
Specifies that the data source does not yet exist. If you omit the NEW parameter, a message is returned stating that the data source cannot be found. The USE command is not executed.
The following command creates the data source WAGES using the WAGES Master File.
Windows:
USE C:\DATA\WAGES.FOC NEW END CREATE FILE WAGES
z/OS:
USE WAGES NEW END CREATE FILE WAGES
UNIX:
USE wages.foc NEW END CREATE FILE WAGES