Strings

Strings are used in MaxL statements to represent the text of comments, member expressions, calculation scripts, and file references. Strings can begin with any valid character. As with names, strings containing white space or special characters must be enclosed in single quotation marks.

See Rules for Names for a list of valid special characters.

Table 163 shows examples of statement elements that are strings:

Table 163. Examples of String in MaxL Statements

Type of String

Example

Password

create user Fiona identified by sunflower;

Comment

alter group Financial comment 'Reports due July 31';

Member expression

create filter sample.basic.filt1 read on 'Sales,@ATTRIBUTE(Bottle)'; 
create or replace replicated partition sampeast.east area '@IDESC(East), @IDESC(Qtr1)' to samppart.company mapped globally '("Eastern Region")' to '(East)';

Body of a calculation

execute calculation
 '"Variance"=@VAR(Actual, Budget);
  "Variance %"=@VARPER(Actual, Budget);'
on Sample.basic;

File reference

spool on to '/homes/fiona/out.txt';