View previous topic :: View next topic
|
Author |
Message |
shanudarling Warnings : 1 New User
Joined: 20 Dec 2006 Posts: 55 Location: noida
|
|
|
|
Hi all,
I need the syntax of Detach command in CICS. Also It would be of great help if anyone can explain its use.
Thanks in advance... |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
There is a link to manuals at the top of the page. Click on it, find the CICS manuals, and read them -- if what you read is not clear, please post again. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
shanudarling wrote: |
Hi all,
I need the syntax of Detach command in CICS. Also It would be of great help if anyone can explain its use.
Thanks in advance... |
A DETACH command is not a CICS command/API at all.
It is an MVS (z/OS) Macro, primarily used together with a previous MVS ATTACH Macro.
Using MVS (z/OS) Macro's in CICS should be limited and infrequent, because many expand into SVC's (Supervisor Call), which stop the region until the SVC is complete and you may get a visit from your Performance and/or System personnel.
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A790/CCONTENTS?SHELF=IEA2BK91&DN=SA22-7606-10&DT=20080522045539
Bill |
|
Back to top |
|
|
shanudarling Warnings : 1 New User
Joined: 20 Dec 2006 Posts: 55 Location: noida
|
|
|
|
Hi Bill,
Thanks for the reply.
But I am still confused as I got the design for the program from onsite and the designer has clearly mentioned that "Each time <pgm name> is triggered, it should perform an EXEC CICS DETACH before it starts processing."
This gives a feeling as if DETACH is a CICS command!!! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Since you don't seem to believe the manual that IBM wrote which gives all of the CICS commands, Google "exec cics detach" with the quotes and see how many hits show up. The total is ... ZERO. Should you believe IBM and Google, or should you believe the comments a programmer at your shop made? Your choice. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
ask the designer who wrote the specifications to point You ( and all of us )
to the cics manual where the "EXEC CICS DETACH" is described |
|
Back to top |
|
|
shanudarling Warnings : 1 New User
Joined: 20 Dec 2006 Posts: 55 Location: noida
|
|
|
|
Thanks everyone. I think, I can beleve on you rather than google and ibm. ;-) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
But you still have a "designer" who wants "something" to happen. . .
Suggest this needs clarification . . . |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
Each time <pgm name> is triggered, it should perform an EXEC CICS DETACH before it starts processing."
this makes no sense, even if there was a DETACH command, why
would you want to DETACH when you just got started ? |
|
Back to top |
|
|
|