COMPOSER Command Examples

LANSA Composer

COMPOSER Command Examples

Example 1: Display LANSA Composer server version and environment information:

<pgmlib>/COMPOSER REQUEST(ABOUT)

     where <pgmlib> is the name of the program library for the LANSA system in which LANSA Composer is installed.  For example, if you installed LANSA Composer into the default location, you would type:

LICPGMLIB/COMPOSER REQUEST(ABOUT)

 If you typed the above command at a command line, LANSA Composer will display messages containing the LANSA Composer version and environemt information.  For example::

LANSA Composer Server version 3.0 (Build 307)

LANSA V11SP5                                

IBM i server 6.1                            

Example 2: Initiate applying a server license to the LANSA Composer server system:

<pgmlib>/COMPOSER REQUEST(LICENSE)

     where <pgmlib> is the name of the program library for the LANSA system in which LANSA Composer is installed.  For example, if you installed LANSA Composer into the default location, you would type:

LICPGMLIB/COMPOSER REQUEST(LICENSE)

Example 3: Run the supplied processing sequence TUT_01_P1 :

<pgmlib>/COMPOSER REQUEST(RUN)

pseq(TUT_01_P1)

parms( (YOURINITIALS 'FS')

(YOURMESSAGE  'Hello World')

(YOURNAME     'Fred Smith') )

Example 4: Run the supplied activity FTP_INBOUND using the EXAMPLE_FTPIN configuration :

<pgmlib>/COMPOSER REQUEST(RUN)

pseq(4B3DEDA9F50B4C53885BE5318F12DDCA)

parms( (FTPCONFIG 'EXAMPLE_FTPIN') )