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: 8055
Location: East Dubuque, Illinois, USA

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: 10256
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: 8055
Location: East Dubuque, Illinois, USA

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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm


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