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.
\\Server1\Disk1\employee.foc
The Universal Naming Convention (UNC) allows you to enter the server name without entering the explicit path to the server. However, in order to take advantage of the UNC you must first attach to the server. For information on attaching to a server or mapping network drives, consult your Network Administrator.
Enter a Master File name to be associated with the data source in the Master File field.
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
WebFOCUS |