QUOTE

LANSA Integrator

QUOTE

The QUOTE command allows special FTP server command execution by supplying host-dependent commands to the remote FTP Server.

 

 QUOTE --------- COMMAND ------- command --------------------------|

 

Keywords

COMMAND

The command string to be executed.

Examples

For example, if your remote FTP server is an IBM i you might issue the RCMD command execute a program or command.

RDML

 

CHANGE FIELD(#JSMCMD) TO('QUOTE COMMAND("RCMD DSPSYSVAL SYSVAL(QDATE) OUTPUT(*PRINT)")')

USE BUILTIN(JSM_COMMAND) WITH_ARGS(#JSMCMD) TO_GET(#JSMSTS #JSMMSG)

 

RDMLX

 

use builtin(jsmx_command) with_args(#jsmhandle 'quote command("RCMD DSPSYSVAL SYSVAL(QDATE) OUTPUT(*PRINT)")') to_get(#jsmsts #jsmmsg)