Page 1 of 1

Inquire JVMSERVER status

Posted: Thu Mar 05, 2015 11:14 pm
by akila
Hi

I want to display the JVM server status using a CICS - Cobol program.
I tried the following :

Code: Select all

EXEC CICS INQUIRE JVMSERVER('ABCJVM')
ENABLESTATUS (WS-STAT)
END-EXEC
IF WS-STAT=DFHVALUE(ENABLED)
DISPLAY 'ENABLED'

Though the jvm server is in enabled status in CICS, I am not able to get the display statement printed in spool.I have also added the DFHAID copybook in program.

Kindly let me know if I am missing something.

Re: Inquire JVMSERVER status

Posted: Fri Mar 06, 2015 4:28 am
by Robert Sample
What results did you get when you used CEMT to enter the command? What version of CICS are you using?