CLOSE

LANSA Integrator

CLOSE

This command is used to close the current bind. 

 

 CLOSE ------- no keywords --------------------------------------|

 

Keywords

There are no keywords associated with this command.

Comments / Warnings

If you are planning to work with more than one JSON documents in a single function, then it is recommended that you CLOSE the bind of each document before you BIND the next JSON document. This is not mandatory but it will free up resources.

Examples

RDML

 

* Define the fields used by the JSM Commands

Define Field(#JSMSTS) Type(*CHAR) Length(020)

Define Field(#JSMMSG) Type(*CHAR) Length(256)

 

USE BUILTIN(JSM_CLOSE) TO_GET(#JSMSTS #JSMMSG)

 

RDMLX

 

* Define the fields used by the JSM Commands

Define Field(#JSMSTS) Type(*CHAR) Length(020)

Define Field(#JSMMSG) Type(*CHAR) Length(256)

Define Field(#JSMHND) Type(*CHAR) Length(4)

 

Use Builtin(JSMX_CLOSE) With_Args(#JSMHND) To_Get(#JSMSTS #JSMMSG)