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
 

 

Testing different versions of the same program in CICS

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

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Thu Jun 25, 2009 3:45 pm    Post subject: Testing different versions of the same program in CICS
Reply with quote

Hi Friends,

I am working in an environment where more than one person can be working ( making changes ) on the same program and testing simultaneously.

I would like to know, if it is possible in CICS, whether a user can test his own version of the program while another person can test his/her program in the same CICS region parallely.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jun 25, 2009 5:05 pm    Post subject:
Reply with quote

Quote:
whether a user can test his own version of the program while another person can test his/her program in the same CICS region parallely.
Do not go there. Code changes are too easily lost when doing parallel testing. A CICS region identifies a program uniquely by name, so once a NEWCOPY is done the old version is gone. Let it go in peace. Use multiple CICS regions for testing if you absolutely must test in parallel, implement a source code management system, and forget you ever asked this question.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Jun 25, 2009 5:06 pm    Post subject:
Reply with quote

Not when the both modules have the same name.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Thu Jun 25, 2009 5:29 pm    Post subject:
Reply with quote

Hi Robert and Dbz,

Thanks a lot for ur reply and guidance.

Please ignore my arrogance in asking the next question.... icon_smile.gif

Before closing this... i would like to know whether it is at all possible even if we have to go to extreme measures.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jun 25, 2009 5:36 pm    Post subject:
Reply with quote

Only if the transactions and modules are uniquely named. CICS only has one transaction named ABCD, for example, which points to only one program ABCDPROG.

I have worked places where there's multiple sets of program names and transactions so TST1 transaction, for example, could execute TSTPROG1 while TST2 transaction executed TSTPROG2. TSTPROG1 and TSTPROG2 were different versions of the same program. Maintaining control of the environment, however, is a nightmare and significantly increases system programmer (and sometimes lead application programmer) consumption of alcoholic beverages after hours. The different versions have to be able to access different copies of the files used by the system, so file names (and TD queue names, TS queue names, map names, and anything else unique to the system) has to be duplicated and loaded from parameters, not hard coded in the programs.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Thu Jun 25, 2009 5:46 pm    Post subject:
Reply with quote

Hi Robert,

You really do "paint" a good picture... icon_cool.gif ... by the looks of it its extremely painful to implement this... icon_smile.gif

You were mentioning about having mutiple regions in CICS to implement the situation... how easy / tough is it to have a region for each and every user ( Tester )... icon_razz.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jun 25, 2009 5:55 pm    Post subject:
Reply with quote

CICS region set up, while not difficult, does require system resources (VTAM APPLID, initiator, address space for each region, for example) so you may get some reluctance from your site support group about setting up a batch of regions, one per tester. The CICS support group for your site would be where to start -- they have to define the APPLID, assemble the SIT, create the RDO entries for transactions, programs, maps, files and so forth, plus create the JCL, assemble some PLT entries (most likely) and test the region before letting people at it.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Thu Jun 25, 2009 6:05 pm    Post subject:
Reply with quote

Suppose say we already have CICSTEST region that's available with all the resources. When we create a new region, say CICSTSTA, will the region be a completely new one or is there an option to make it just a subset of the CICSTEST region.

What I mean by a subset is basically like - for the situation we are having.. I would like to keep all the system resources same as CICSTEST except to handle the different load modules. I am guessing in the new region, CICSTSTA, we do not have to define all programs and maps and the rest but only the changes from what we want from the CICSTEST region.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jun 25, 2009 6:08 pm    Post subject:
Reply with quote

I am not aware of any way to do that -- as far as I know, every CICS region is a complete region with its own copy of everything. It may share the same RDO entries as another region (which could reduce set up time), but in order to get to the region from your terminal it must have a unique APPLID for VTAM to find it. And that means it has to be running in its own address space.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Thu Jun 25, 2009 6:35 pm    Post subject:
Reply with quote

Thanks a ton Robert... icon_smile.gif
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 Testing rerad cursor for status with ... John F Dutcher DB2 7 Fri May 19, 2017 9:35 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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