|
|
| Author |
Message |
spjayaram
New User
Joined: 13 May 2008 Posts: 12 Location: chennai
|
|
|
|
Hi Earl,
Actually GMXT is the control card data. but the region has multiple file sets. so the GMXT file will be derived as G9XT for fileset 9. Similary other files will be derived as G91A, G91C, G91S, and G9XU. No problems with these files whatsoever..only G9XT fails.
And the strange thing is when i execute this program as a stand alone program, every file gets open enable properly includign G9XT. But when this job runs as part of the daily batch only this prblm occurs.
yeah i can try debugging this prog in cics using CEDF or CEDX..will try that out..
thanks
sj |
|
| Back to top |
|
 |
References
|
|
 |
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 455
|
|
|
|
spjayaram
looks like you will to start reviewing cod, this is bug in either the batch program or the online program, or both.
good luck,
Earl |
|
| Back to top |
|
 |
spjayaram
New User
Joined: 13 May 2008 Posts: 12 Location: chennai
|
|
|
|
Hi Earl,
sure am going to that.
but i have to debug it while the job runs as part of the batch. becuase in my unit testing it goes thu fine with out any issues. so no point. If there is a bug in the batch or online program, it wud have failed in unit test also..rite?
nyways, will try debugging and will let you know the result..
thanks again
sj |
|
| Back to top |
|
 |
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 455
|
|
|
|
spjayaram
sometimes unit testing does not catch every possibility.
you shold be able to spot the problem within a few minutes
using a debugger.
do you have access to source code for both batch and online program?
-Earl |
|
| Back to top |
|
 |
zos5415
New User
Joined: 29 Aug 2008 Posts: 15 Location: China
|
|
|
|
| Code: |
You need to load a data set first, because in VSAM non-RLS mode, your application program cannot open for input to an empty data set. |
|
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 15158 Location: 221 B Baker St
|
|
|
|
Hello,
Please note that you have posted a reply to a topic that has been inactive for almost a year. |
|
| Back to top |
|
 |
tswastik
New User
Joined: 01 Jun 2005 Posts: 3 Location: Minnetonka
|
|
|
|
Sorry to interfere in this discussion. I was reading the whole discussion and I also got a similar issue in my batch. The error message came from DFHFC0952 return code 4 reason code 0210 opening a file in CICS.
http://www-01.ibm.com/support/docview.wss?uid=swg21047698
Just check once in your previous batch step, if there is any SORT steps involved which hold the file and did not release. Resolution can be if you can split your job into two. (run your open step in another job after other operation on the file is done). Make sure your file is free to allocate the dataset in the CICS region. Let me know the results. |
|
| Back to top |
|
 |
|
|