HSPSERV - List form

Use the list form of the HSPSERV macro together with the execute form of the macro for applications that require reentrant code. The list form of the macro defines an area of storage, which the execute form of the macro uses to store the parameters.

Syntax

The list form of the HSPSERV macro is written as follows:

Syntax Description
   
   name name: Symbol. Begin name in column 1.
   
One or more blanks must precede HSPSERV.
   
HSPSERV  
   
One or more blanks must follow HSPSERV.
   
   PLISTVER=vernum vernum: Parameter list version 0 or 1
  Default: Version that allows all specified parameters.
   
,MF=(L,list-addr) list-addr: Symbol.
,MF=(L,list addr,attr) attr: 1- to 60-character input string. Default: 0D.
   

Parameters

Parameters for the list form of HSPSERV are as follows:

PLISTVER=vernum
Specifies the macro version associated with HSPSERV. PLISTVER is an optional parameter that determines which parameter list the system generates. Specify 0 if you use parameters only from this group:
  • ADDRSP
  • CREAD
  • CWRITE
  • KEEP
  • MF
  • NUMRANGE
  • PLISTVER
  • RANGLIST
  • RELEASE
  • RETCODE
  • RSNCODE
  • SREAD
  • STOKEN
  • SWRITE

If you use the HSPALET parameter, specify 1.

If you do not specify PLISTVER, the default is to allow all of the parameters you specify on the invocation to be processed.

,MF=(L,list-addr)
,MF=(L,list-addr,attr)
Specifies the list form of HSPSERV.

list-addr is the address of the storage area for the parameter list.

attr is an optional 1- to 60-character input string, which can contain any value that is valid on an assembler DS pseudo-op. You can use this parameter to force boundary alignment of the parameter list. If you do not code attr, the system provides a value of 0D, which forces the parameter list to a doubleword boundary.