PreviousNext
Help > Programming with LAUNCHER Office > CL Commands > General
General

 

It is possible to develop applications that only use high-level CL commands, without using API programs.

The conversation between the AS/400 program and the PC is handled by the CL commands, through the EXESRV and ENDOPT parameters of the CL commands.

The EXESRV parameter can take the values:

*DEV to designate the PC used for terminal emulation.

*CURRENT to designate the already open conversation. In this case, a conversation must be opened beforehand, by the LNCOPEN program, or by another CL command that kept its conversation open (ENDOPT = *NONE).

"IP Address/DNS Name" to designate a PC by its IP address or name.

 

The ENDOPT parameter can take the values:

*NONE to keep everything open: the document, the application and the conversation.

*DOC to close only the document.

*APP to close the document and application.

*ALL to close everything, including the conversation.