IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Move data as per CICS Region dynamically


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 04, 2013 5:47 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Apr 04, 2013 6:15 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 04, 2013 6:28 pm
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: 121
Location: Puerto Rico

PostPosted: Thu Apr 04, 2013 10:11 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Using API Gateway from CICS program CICS 0
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top