View previous topic :: View next topic
|
Author |
Message |
dhanya unnikrishnan
New User
Joined: 21 May 2008 Posts: 1 Location: USA
|
|
|
|
Hi,
I have a code which will post JCLs.I need to put a check in program to identify the region in which it runs test or production.
Is there any way to do that.
Thanks,
Dhanya |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Dhanya,
Not sure what "post" means.
Alittle more detail might help too. Where does the JCL reside? Does it contain procs? Don't your shop have a prod environment with JCL/source/load libs dedicated? The same w/test.
Or am I misunderstanding your ques? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
even if I strongly disagree on the approach
- the application development should not be impacted by system setup
- if the system setup changes, the program must reflect those changes
- the program must keep track of all the possible system combinations
here is a pointer to a code snippet that should be
evaluated and approved by Your support before being used
http://gsf-soft.com/Freeware/COB2SYS.shtml
the best approach would be to pass a parameter
any scheduler can fill the info at submit time,
screening the application from system setup details |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
dhanya unnikrishnan wrote: |
Hi,
I have a code which will post JCLs.I need to put a check in program to identify the region in which it runs test or production.
Is there any way to do that.
Thanks,
Dhanya |
Set a working storage copy member in test and production with the same name but different values. |
|
Back to top |
|
|
|