Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The command string consists of a command name and zero or more keywords.

    COMMAND KEYWORD1( VALUE ) KEYWORD2( VALUE )

...

Each JSM client has different command capabilities.

RPG command

JSMX_COMMAND

RDML command

JSM_COMMAND

RDMLX command

JSMX_COMMAND


If a JSMDirect function needs to access multiple services within the same program, then it is recommended that you use multiple JSM connections.

It is possible for a single JSM connection to use multiple services sequentially by unloading and loading another service.

JSM OPEN




SERVICE_LOAD SERVICE(servicename1)

Load specified service program


User-defined commands



SERVICE_UNLOAD

Unload service





SERVICE_LOAD SERVICE(servicename2)

Load specified service program


User-defined commands



SERVICE_UNLOAD

Unload service (optional)

JSM CLOSE



...