IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

About Detach command


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shanudarling
Warnings : 1

New User


Joined: 20 Dec 2006
Posts: 55
Location: noida

PostPosted: Tue Nov 17, 2009 1:00 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Nov 17, 2009 4:22 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Tue Nov 17, 2009 4:45 pm
Reply with quote

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
View user's profile Send private message
shanudarling
Warnings : 1

New User


Joined: 20 Dec 2006
Posts: 55
Location: noida

PostPosted: Tue Nov 17, 2009 6:38 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Nov 17, 2009 6:51 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Nov 17, 2009 6:57 pm
Reply with quote

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
View user's profile Send private message
shanudarling
Warnings : 1

New User


Joined: 20 Dec 2006
Posts: 55
Location: noida

PostPosted: Tue Nov 17, 2009 7:03 pm
Reply with quote

Thanks everyone. I think, I can beleve on you rather than google and ibm. ;-)
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Nov 17, 2009 9:40 pm
Reply with quote

Hello,

But you still have a "designer" who wants "something" to happen. . .

Suggest this needs clarification . . .
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Nov 18, 2009 4:28 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top