5 32 2 Using the ZipService

LANSA Integrator

5.32.2 Using the ZipService

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 that creates a zip archive file from one or more files in a single folder or directory would typically issue the following sequence of commands:

JSM(X)_OPENJSM(X)_COMMANDs

     SERVICE_LOAD

          CREATE

          ADD

          CLOSE

     SERVICE_UNLOAD

JSM(X)_CLOSE

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