Chapter Contents |
Previous |
Next |
SAS Component Language: Reference |
You call an SCL module with a CALL DISPLAY routine that passes parameters to it and receives values that are returned by the SCL entry. The module's ENTRY statement receives parameters and returns values to the calling program.
For example, if you were creating an SCL module to validate amounts and rates that are entered by users, you could store the labeled sections in separate SCL entries named AMOUNT.SCL and RATE.SCL. Then, you could call either of them with a CALL DISPLAY statement like the following:
call display('methdlib.validate.amount.scl',amount,error);
For more information, see DISPLAY.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.