The FCMP Procedure |
Table of Contents: | The FCMP Procedure |
Task | Statement | |
---|---|---|
Create, test, and store SAS functions for use by other SAS procedures. |
PROC FCMP |
|
Terminate the execution of the current DATA step, SAS job, or SAS session. |
ABORT |
|
Associate a name with a list of variables and constants. |
ARRAY |
|
Specify format, label, and length information for a variable. |
ATTRIB |
|
Delete a function from the function library that is specified in the OUTLIB option. |
DELETEFUNC | DELETESUBR |
|
Return changed variable values. |
FUNCTION |
|
Specify a label for variables. |
LABEL |
|
Write the source code of a function in the SAS listing. |
LISTFUNC | LISTSUBR |
|
Declare (create) structure types. |
STRUCT |
|
Declare (create) independent computational blocks of code. |
SUBROUTINE |
|
(Use only with the SUBROUTINE statement.) Specify arguments from the argument list that the subroutine should update. |
OUTARGS |
You can use DATA step statements with PROC FCMP. However, there are some differences in the syntax and functionality for PROC FCMP. See PROC FCMP and DATA Step Differences for a list of statements and the differences.
The behaviors of the DROP, KEEP, FORMAT, and LENGTH statements are the same in PROC FCMP and in the DATA step.
The following DATA step statements are not supported in PROC FCMP:
DATA
SET
MERGE
UPDATE
MODIFY
INPUT
INFILE
The support for the FILE statement is limited to LOG and PRINT destinations in PROC FCMP. The OUTPUT statement is supported in PROC FCMP, but it is not supported within a function or subroutine.
The following statements are supported in PROC FCMP but not in the DATA step:
FUNCTION
STRUCT
SUBROUTINE
OUTARGS
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.