PreviousNext
Help > Programming with LAUNCHER Office > LNCCMD commands > LNCCMD key words
LNCCMD key words

The  LNCCMD command requires the followings parameters:


            CMD, PARM1, PARM2 and RESULT.  

 

The CMD parameter value indicates which PC action is requested by client program.

 

The values given to the parameters PARM1 and PARM2 of the LNCCMD command depend on the action requested on the PC by the key word CMD.

Description of those two parameters for each key word can be found in the alphabetical list.

 

RESULT parameter contains a return value for LNCCMD program call.

Use of some keywords for CMD parameter induces a return result.

 

You can find the list of keywords for the CMD parameter, by consulting the following chapter: "Alphabetical list".

 

For this parameter, possible values of keywords may be classed in categories :

         Wxxxx : Words beginning with W concern a MS Word action.

         XLxxxx & EXCELxxx : Words beginning with XL or EXCEL concern a MS EXCEL action.

         MAILxxxx : Words beginning with MAIL concern the messaging system.

         OLExxxx : Words beginning with OLE concern OLE object links.

         PDFxxxx : Words beginning with PDF concern PDF action.

         (Others) : Others words concern general actions concerning Windows or others applications.

 

Call LNCCMD command from AS/400 client in CL program :

 

CALL PGM(LNCCMD) PARM(&HANDLE &OPT &CMD &PARM1 &PARM2 &RESULT)

 

Or

 

LNCCMD     CMD(EXCELOPEN)

 

Call LNCCMD command into Java program :

 

test.LNCCMD("EXCELOPEN ");