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
 

 

Move data as per CICS Region dynamically

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
frozenblood
Warnings : 1

New User


Joined: 16 Oct 2012
Posts: 37
Location: INDIA

PostPosted: Thu Apr 04, 2013 5:31 pm    Post subject: Move data as per CICS Region dynamically
Reply with quote

Hi,

I have a requirement to pick up server URL according to the region in which my CICS program is executing.

The region can be picked up using APPLID but my client neither want me to hardcode the server URL in the program nor they want me to allocate and read files in which URL's are stored. Is there any alternative through which i can make accomplish this task?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7995
Location: Bellevue, IA

PostPosted: Thu Apr 04, 2013 5:47 pm    Post subject:
Reply with quote

1. Hardcode the URL in the program.
2. Place the URL in a file and read the file.

There is not really any other good place to store such data. There is no magical memory bucket where you can place things for later use. If your client doesn't want them hardcoded, and doesn't want them in a file, find out from the client where to store them -- or go back to the client and state that what they want cannot be accomplished in the way they want it done.
Back to top
View user's profile Send private message
frozenblood
Warnings : 1

New User


Joined: 16 Oct 2012
Posts: 37
Location: INDIA

PostPosted: Thu Apr 04, 2013 6:12 pm    Post subject:
Reply with quote

Thats exactly my point but they are asking to make use of TSQ's but i again wonder how will the data be written to TSQ's that will again be through WRITEQ which will in turn again be a hardcoding.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Thu Apr 04, 2013 6:15 pm    Post subject: Reply to: Move data as per CICS Region dynamically
Reply with quote

isn' t there a <senior> in your group to negotiate the application requirements, the implementation and the delivery ???
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7995
Location: Bellevue, IA

PostPosted: Thu Apr 04, 2013 6:28 pm    Post subject:
Reply with quote

Things have to be placed in a TSQ before they can be read from a TSQ. That could be done via a PLT program during CICS start up, but the URL data would still have to be hardcoded in the PLT program. The bottom line: as enrico implies, the requirement is complete and total nonsense and somebody should be pointing that out to the client.
Back to top
View user's profile Send private message
Jose Mateo

Active User


Joined: 29 Oct 2010
Posts: 110
Location: Puerto Rico

PostPosted: Thu Apr 04, 2013 10:11 pm    Post subject: Reply to: Move data as per CICS Region dynamically
Reply with quote

Good day to all!

From what I understand is that your application will get the URL from a terminal user and that your application will write it to a TSQ. This will avoid having a hard code URL in the program or reading the URL from some file. If this is not what client wants then get out your magic wand to do the trick.
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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


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