Assignment statements can be used in the )INIT section to set the contents of dialog variables before the automatic initialization of variables in the panel body. Also, they can be used in the )REINIT section before redisplay of the panel body. Assignment statements can also be used in the )PROC section, typically to set the contents of dialog variables that do not correspond to fields in the panel body.
>>-variable--=--value------------------------------------------><
&A = ‘’
&COUNT = 5
&DSN = ‘’‘SYS1.MACLIB’‘’
&BB = &C
The first example sets variable A to blanks. The second example sets variable COUNT to a literal character string (the number 5). The third example sets variable DSN to a character string that begins and ends with a single quote. See Panel definition statement guide for information about syntax rules and restrictions. The fourth example sets variable BB to the contents of another variable, C.
The literal ' ' represents a single blank. To define a null, you must use the &Z literal.