The JES3 job log shows the following errors when started the VANWEBUI started task.
IEFC019I MISPLACED JOB STATEMENT
IEFC008I PEND STATEMENT FOUND BEFORE END OF PROCEDURE
The factory supplied VANWEBUI from CCTUSAMP library has a job card.
//VANWEBUI JOB (ACCT-INFO),'Vantage VSP'
The JES3 will try add a JOB card when VANWEBUI STC task is started and thus there will be two job cards in the submitted JCL.
Remove the job card in the VANWEBUI STC proc and following is part of sample VANWEBUI code. Please note that the Shell scripts are not shown here and can be added as per the customer's environment.
//JVMPRC86 PROC ARGS='start',
// JAVACLS='org.apache.catalina.startup.Bootstrap',
// LEPARM='',
//* LIBRARY='',
// LOGLVL='+I',
// REGSIZE='0M',
// VERSION='86'
//JAVAJVM EXEC PGM=JVMLDM&VERSION,
// PARM='&LEPARM/&LOGLVL &JAVACLS &ARGS',
// REGION=®SIZE,
// TIME=NOLIMIT
//*STEPLIB DD DSN=&LIBRARY,
//* DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//CEEDUMP DD SYSOUT=*
//STDENV DD *
#########################################################
# This is a shell script which configures any environment
# variables for the Java JVM Variables must be exported
# to be seen by the launcher.
#########################################################
# Set the time zone in your profile file