Regarding EXEC CICS ENQ / DEQ

About CICS and BMS - In this Mainframe Forum - You can post your queries on CICS

Moderators: DikDude, Natarajan, Moderator Group

Post Reply
m1985nehal
Member
Posts: 1
Joined: Thu Oct 01, 2009 1:47 pm
Location: Pune

Regarding EXEC CICS ENQ / DEQ

Post by m1985nehal » Fri Apr 24, 2015 10:25 am

Hello Guys,
Que 1.
I am executing following code

03 WS-OFQCMON PIC X(08) VALUE 'OFQCMON '.

EXEC CICS ENQ
RESOURCE (WS-OFQCMON)
LENGTH (LENGTH OF WS-OFQCMON)
RESP (SS08WS-DFHRESP)
NOSUSPEND
END-EXEC.

I am not able to understand, what is that i am writing into OFQCMON TSQ ?. What will be content of the TSQ and how can i browse the content.

Que 2.

What is the command to check all TSQ/TDQs defined in CICS.

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Fri Apr 24, 2015 11:38 am

You are writing nothing to OFQCMON with that code. You are simply telling CICS, "here's a token-name: until I DEQ that token-name, no-one else can use it".

For the second, ask you CICS support people.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others