5.35.2 Using the SVFileService

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

For example, an application that reads a separated variable file would typically issue the following sequence of commands:

JSM(X)_OPENJSM(X)_COMMANDs

     SERVICE_LOAD

          READ

     SERVICE_UNLOAD

JSM(X)_CLOSE

A similar sequence of commands would be used to write to a separated variable file with the READ command replaced by a WRITE command.

Refer to Java Service Manager Clients for the command details that apply to your chosen development language.