z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


LOAD and CALL Macro Instructions

z/OS DFSMS Access Method Services Commands
SC23-6846-01

Access method services is also invoked with a LOAD of the module IDCAMS, followed by a CALL to that module. The syntax of the LOAD macro instruction is:

Label Command Parameters
[label] LOAD {EP=IDCAMS|EPLOC=address of name}
     
where:
EP=IDCAMS
is the entry point name of the IDCAMS program to be loaded into virtual storage.
EPLOC=address of name
is the address of an 8-byte character string IDCAMSbb.

After loading IDCAMS, register 15 must be loaded with the address returned from the LOAD macro. Use CALL to pass control to IDCAMS. The syntax of the CALL macro instruction is:

Label Command Parameters
  LR 15,0
[label] CALL (15),
    (optionaddr
    [,dnameaddr]
    [,pgnoaddr]
    [,iolistaddr]
    [,auxlistaddr]),
    VL
     
where:
15
is the register containing the address of the entry point to be given control.
optionaddr
specifies the address of an options list that can be specified in the PARM parameter of the EXEC statement and is a valid set of parameters for the access method services PARM command. If you do not want to specify any options, this address must point to a halfword of binary zeros. Figure 1 shows the format of the options list.
dnameaddr
specifies the address of a list of alternate ddnames for standard data sets used during IDCAMS processing. If standard ddnames are used and this is not the last parameter in the list, it should point to a halfword of binary zeros. If it is the last parameter, it can be omitted. Figure 1 shows the format of the alternate ddname list.
pgnoaddr
specifies the address of a 6-byte area that contains an EBCDIC starting page number for the system output file. If the page number is not specified, but this is not the last parameter in the list, the parameter must point to a halfword of binary zeros. If it is the last parameter, it can be omitted. If omitted, the default page number is 1. Figure 1 shows the format of the page number area.
iolistaddr
specifies the address of a list of externally controlled data sets and the addresses of corresponding I/O routines. If no external I/O routines are supplied, this parameter can be omitted. Figure 1 shows the format of the I/O list.
auxlistaddr
specifies the address of the auxiliary list. Figure 1 shows the format of the auxiliary list.
VL
causes the high-order bit of the last address parameter in the macro expansion to be set to 1.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014