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

Use of START command with containers


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Mon Jul 12, 2010 6:16 pm
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: 6966
Location: porcelain throne

PostPosted: Mon Jul 12, 2010 6:22 pm
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 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