Submitting the COMPOSER Command to Batch

LANSA Composer

Submitting the COMPOSER Command to Batch

When using the COMPOSER command to run a Processing Sequence, you can submit the command to batch.  For example, you could use a command like this to submit the supplied processing sequence TUT_01_P1 to run in batch :

SBMJOB JOB(TUT_01_P1)

CMD(<pgmlib>/COMPOSER REQUEST(RUN)

PSEQ(TUT_01_P1)

PARMS((YOURINITIALS 'FS')

(YOURMESSAGE 'Hello World')

(YOURNAME 'Fred Smith')))

(where <pgmlib> is the name of the program library for the LANSA system in which LANSA Composer is installed).