5 15 2 Using the SMSService

LANSA Integrator

5.15.2 Using the SMSService

Whether you are writing your client application in RDML / RDMLX or in a 3GL such as RPG, you have to complete the same basic steps.

For example, an application to send an SMS to a mobile phone would typically issue the following sequence of commands:

JSM(X)_OPENJSM(X)_COMMANDs

     SERVICE_LOAD

          SET

          SEND

     SERVICE_UNLOAD

JSM(X)_CLOSE