Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Use of START command with containers

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
surya anem

New User


Joined: 20 Dec 2007
Posts: 54
Location: Hyderabad

PostPosted: Mon Jul 12, 2010 11:36 am    Post subject: Use of START command with containers
Reply with quote

Hi,

I have an array of size 50.

For every occurence of array i need to create a container and
pass that container to another program which is initiated through START command (Asynchromous transaction).

Code:
 EXEC CICS                       
     START TRANSID(WC-TRAN-GCAE) 
     CHANNEL(WC-CHANNEL)         
     RESP(WS-CICS-RESP)           
 END-EXEC       


My doubt is when first occurence of the array is executing,
we will be trying to put data into the container and start the transaction again for the second occurence of the array.

Will this overwrite the data present in the contents of first container.
If yes how should we proceed further.

Thanks in advance,
Surya
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Jul 12, 2010 6:16 pm    Post subject: Re: Use of START command with containers
Reply with quote

surya anem wrote:
Will this overwrite the data present in the contents of first container.

IIRC, if the started program obtains the container with a SET, yes. If it uses an INTO, no.
Containers are named blocks of data designed for passing information between programs. You can think of them as "named communication areas (COMMAREAs)".
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Mon Jul 12, 2010 6:22 pm    Post subject:
Reply with quote

what if the driver program populates the container before the previously STARTed program INTO's the passed container?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us