Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Language Reference

CONVMOD Function

converts modules to character matrices

CONVMOD( module-name)

where module-name is a character matrix or quoted literal containing the name of an IML module.

The CONVMOD function returns a character matrix with n rows and 1 column, where n is the number of statements in the module. The element length is determined from the longest statement in the module. The CONVMOD function is supported to maintain compatibility with Version 5 SAS/IML software. It should be used only in conjunction with the STORE and PARSE statements. For example, consider the statements

   start abc;
      \ob statements \obe
   finish;
   r=convmod('abc');   /* convert module ABC to matrix R   */
   store r;            /* store module as character matrix */
Note that this can also be done in just one step with the statement
   store module='abc';
This statement stores module ABC in the storage library. You should use the STORE MODULE= command instead to store modules. See Chapter 14, "Storage Features," for details concerning storage of modules.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.