SAVE

LANSA Integrator

SAVE

The SAVE command is used to save a modified document. The FILE keyword is optional. If the document has been opened then no FILE keyword is required as the original document is used for the save. Use the FILE keyword for saving created documents or saving an opened document to a different document path.

 

                                                         Required

 

 SAVE ---------------------------------------------------------->

 

                                                         Optional

 

           >-- FILE ------------- file path --------------------|

 

Keywords

FILE

The path and file name to be for the saved document. The file name should include an appropriate Excel file extension, for example XLSX for an Excel Workbook.

For example:

 

use builtin(jsmx_command) with_args(#jsmhandle 'save file(product.xlsx)') to_get(#jsmsts #jsmmsg)

 

Examples

RDML

 

USE BUILTIN(JSM_COMMAND) WITH_ARGS('SAVE FILE(product.xlsx)') TO_GET(#JSMSTS #JSMMSG)

 

RDMLX

 

use builtin(jsmx_command) with_args(#jsmhandle 'save file(product.xlsx)') to_get(#jsmsts #jsmmsg)