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 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: 6968
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 Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm

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