View previous topic :: View next topic
|
Author |
Message |
frozenblood Warnings : 1 New User
Joined: 16 Oct 2012 Posts: 37 Location: INDIA
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
frozenblood Warnings : 1 New User
Joined: 16 Oct 2012 Posts: 37 Location: INDIA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
isn' t there a <senior> in your group to negotiate the application requirements, the implementation and the delivery ??? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Jose Mateo
Active User
Joined: 29 Oct 2010 Posts: 121 Location: Puerto Rico
|
|
|
|
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 |
|
|
|