z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Passing parameters in a program macro

z/OS ISPF Edit and Edit Macros
SC19-3621-00

Program macros process edit commands by using the ISPLINK or ISPEXEC interface. ISPLNK and ISPEX are the interface names used in FORTRAN and Pascal programs. Parameters are passed to the ISREDIT service as follows:
  • CALL ISPLINK ('ISREDIT',length,buffer)
    CALL ISPEXEC (length,'ISREDIT command')
where these definitions apply:
'ISREDIT'
The service name.
length
A fullword number indicating the length of the command buffer. When a zero length is passed, the maximum buffer length is 255 bytes.
buffer
Can contain any edit command that is valid from a macro, typed with the same syntax used in a CLIST or REXX exec.
command
Any PDF edit command that is valid from a macro, typed with the same syntax used in a CLIST or REXX exec.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014