Inquire JVMSERVER status

Customer Information Control System. Middleware and MQ Series.
Post Reply
akila
New Member
Posts: 1
Joined: Wed Mar 12, 2014 10:36 pm

Inquire JVMSERVER status

Post 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.
Last edited by Anuj Dhawan on Mon Mar 09, 2015 12:15 pm, edited 1 time in total.
Reason: Added BBCode Tags
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Inquire JVMSERVER status

Post by Robert Sample »

What results did you get when you used CEMT to enter the command? What version of CICS are you using?
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “CICS, Middleware and MQ Series.”