Example

A base library for messages (ISPMLIB) is defined. Query the "ID" information and return the "ID" information in the variable IDV.

Here is the command invocation

ISPEXEC QBASELIB ISPMLIB ID(IDV)

Here is the call invocation:

CALL ISPLINK ('QBASELIB','ISPMLIB ','IDV ');

Or alternatively, you could:

  1. Set the program variable BUFFER to contain
    QBASELIB ISPMLIB ID(IDV)
  2. Set program variable BUFLEN to the length of the variable BUFFER.
  3. Issue the command
    CALL ISPEXEC (BUFLEN, BUFFER);