Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Dynamic allocation of Non-RLS file G9XTO failed. Return code
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
Author Message
spjayaram

New User


Joined: 13 May 2008
Posts: 12
Location: chennai

PostPosted: Tue Jul 01, 2008 2:47 pm    Post subject:
Reply with quote

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
View user's profile Send private message
References
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 418

PostPosted: Tue Jul 01, 2008 8:34 pm    Post subject:
Reply with quote

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
View user's profile Send private message
spjayaram

New User


Joined: 13 May 2008
Posts: 12
Location: chennai

PostPosted: Tue Jul 01, 2008 8:48 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 418

PostPosted: Tue Jul 01, 2008 10:30 pm    Post subject:
Reply with quote

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
View user's profile Send private message
zos5415

New User


Joined: 29 Aug 2008
Posts: 14
Location: China

PostPosted: Fri Jun 26, 2009 9:04 am    Post subject: does the file is empty ?
Reply with quote

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
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 13611
Location: 221 B Baker St

PostPosted: Fri Jun 26, 2009 9:16 am    Post subject:
Reply with quote

Hello,

Please note that you have posted a reply to a topic that has been inactive for almost a year.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 HoursGoto page Previous  1, 2
Page 2 of 2