HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SYSPARM

HLASM Programmer's Guide
SC26-4941-06

Read syntax diagramSkip visual syntax diagram
   .-SYSPARM()-------.   
>>-+-----------------+-----------------------------------------><
   '-SYSPARM(string)-'   

Default
The &SYSPARM system variable is set to NULL.
Abbreviations
None
Restrictions
You cannot specify this option on *PROCESS statements.
string
Specifies the character string the assembler assigns to the &SYSPARM system variable symbol. The character string is up to 255 characters in length. Any character can be included in the string, subject to the rules for building character strings defined in the HLASM Language Reference.
On a z/OS or z/VSE invocation parameter, if the string includes spaces, commas, or parentheses, it must be enclosed in apostrophes. Any parentheses inside the string must be balanced. You must use two apostrophes to represent a single apostrophe, and two ampersands to represent a single ampersand. For example:
PARM='OBJECT,SYSPARM((&&((AM)),''EO).FY)'
assigns the value (&AM,'EO).FY to &SYSPARM.

on z/OS and z/VSE, JCL restrictions limit the length of the SYSPARM value. When you call the assembler from a problem program (dynamic invocation), you can specify a SYSPARM value up to 255 characters long. The ASMAOPT file (ASMAOPT options) also supports a SYSPARM value up to 255 characters long.

On CMS, you can specify SYSPARM(?). This causes the assembler to issue the following message at your terminal:
ENTER SYSPARM:

In response to this message you can enter up to 255 characters. To specify a SYSPARM value of ?, you must specify SYSPARM(?) and enter ? at the terminal prompt.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014