A SERVICE OF

logo

The CV2VIEW Procedure REPLACE Statement 279
libref
specifies the libref that contains the view descriptor that you want to convert.
view-name
specifies the view descriptor that you want to convert.
FROM_LIBREF= Statement
Specifies the library that contains the view descriptors that you want to convert
Requirement:
You must specify either the FROM_VIEW statement or the
FROM_LIBREF statement.
Requirement: The FROM_LIBREF and TO_LIBREF statements are always used together.
FROM_LIBREF= input-library;
Argument
input-library
specifies a previously assigned library that contains the view descriptors that you
want to convert. All view descriptors that are in the specified library and that access
data in the specified DBMS are converted into PROC SQL views. If you specify
DBMS=ALL, then all view descriptors that are in the specified library and that
access any supported DBMS are converted.
REPLACE Statement
Specifies whether existing views and files are replaced
REPLACE <ALL>|VIEW | FILE;
Arguments
ALL
replaces the TO_VIEW= file if it already exists and replaces the SAVEAS= file if it
already exists.
FILE
replaces the SAVEAS= file if it already exists. If the file already exists, and if
REPLACE FILE or REPLACE ALL are not specified, the generated PROC SQL code
is appended to the file.
VIEW
replaces the TO_VIEW= file if it already exists.