Chapter Contents

Previous

Next
CALL PUTEXEC

CALL PUTEXEC



Assigns a value to an EXEC variable

CMS specifics: all


Syntax
CMS Specifics
Example

Syntax

CALL PUTEXEC ('argument1', argument2);

'argument1'
is the name of an EXEC variable. This argument must be uppercased and enclosed in single quotes.

argument2
is the value to be assigned. This argument can be specified as a literal or a variable name. If you specify a literal, it must be enclosed in single quotes.


CMS Specifics

The PUTEXEC CALL routine assigns a value to an EXEC variable. The EXEC must be written in EXEC2 or REXX. To use the PUTEXEC CALL routine effectively, you must be familiar with one of these languages.

If the variable that you specify as argument1 does not currently exist as an EXEC variable, it is created.

Here are some points to consider when using the PUTEXEC CALL routine:

See Using the PUTEXEC CALL Routine for information and examples. Also, refer to the IBM VM/ESA REXX/VM Reference and VM/ESA REXX/VM User's Guide. If you are not familiar with EXEC2, refer to the IBM VM/SP EXEC 2 Reference.


Example

The following statement specifies the literal USR191 as the value to assign to the EXEC variable LABEL:

call putexec('LABEL','USR191');


Chapter Contents

Previous

Next

Top of Page

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