In the following example, <host name> shows where the actual host name is input, and TEST.CMD is the name of the file. The <directory> in the path varies with the site.
PGM
CHGCURDIR '/home/<directory>/ConnectCDC58/kernel'
RUNJVA CLASS(omnienterprise.console.OmniConsole) +
PARM('--cmdinputfile=TEST.CMD') +
PROP((host.name <host name>)) +
CLASSPATH('.+
:/home/<directory>/ConnectCDC58/jarfiles/patch.jar+
:/home/<directory>/ConnectCDC58/jarfiles/omni.jar+
:/home/<directory>/ConnectCDC58/jarfiles/jaxp.jar+
:/home/<directory>/ConnectCDC58/jarfiles/crimson.jar+
:/home/<directory>/ConnectCDC58/jarfiles/jcert.jar+
:/home/<directory>/ConnectCDC58/jarfiles/jnet.jar+
:/home/<directory>/ConnectCDC58/jarfiles/jsse.jar+
:/home/<directory>/ConnectCDC58/jarfiles/log4j-1.2.8.jar+
:../jarfiles/jt400.jar+
:/home/<directory>/ConnectCDC58/jarfiles/mail.jar+
:../jarfiles/jt400.jar+
:/home/<directory>/ConnectCDC58/jarfiles/inetfactory.jar'+
) +
CHKPATH(*IGNORE)
ENDPGM