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

Dynamic allocation of Non-RLS file G9XTO failed. Return code


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
spjayaram

New User


Joined: 13 May 2008
Posts: 12
Location: chennai

PostPosted: Fri Jun 20, 2008 6:54 pm
Reply with quote

hi all,

am getting the below error when i try to open/enable this file by executing a batch program SSU600.

Dynamic allocation of Non-RLS file G9XTO failed. Return code
X'0004',X'0210' in module DFHFCFS.


can u plse advice on this.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Jun 20, 2008 7:10 pm
Reply with quote

Please review the Messages and Codes manual applicable to your CICS Version/Release.

Bill
Back to top
View user's profile Send private message
spjayaram

New User


Joined: 13 May 2008
Posts: 12
Location: chennai

PostPosted: Fri Jun 20, 2008 7:41 pm
Reply with quote

hi,,
thanks for the response...i chkd out the mannuals..but still not cvery clear on the resolution to be taken. cud u plse throw some light
Back to top
View user's profile Send private message
spjayaram

New User


Joined: 13 May 2008
Posts: 12
Location: chennai

PostPosted: Fri Jun 20, 2008 7:48 pm
Reply with quote

yes..got it now...
0210 (528) Meaning: Requested data set unavailable. The data set is allocated to
another job and its usage attribute conflicts with this request. (dsname
allocation)1
Application Programmer Action: Change the allocation request and
resubmit the request.


thanks
Back to top
View user's profile Send private message
spjayaram

New User


Joined: 13 May 2008
Posts: 12
Location: chennai

PostPosted: Tue Jun 24, 2008 7:26 pm
Reply with quote

hi,

I have tried to find out if any other jobs holding the file or not. But there are no jobs running parallel to this job. So i think its the online region that is holding the file. But when i look at the status at online region the file is closed and disabled. This is really getting complicated.

is ther any possibility that due to some problems in the file definition and allocation the online region is still holding on to the file even though it shows the status as closed/disabled. plse help.

thanks
sjayaram
Back to top
View user's profile Send private message
spjayaram

New User


Joined: 13 May 2008
Posts: 12
Location: chennai

PostPosted: Fri Jun 27, 2008 5:16 pm
Reply with quote

hi all,

can any one help on this prob?


thanks
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Fri Jun 27, 2008 7:39 pm
Reply with quote

Please provide addtional information, your question is too vague..

Dynamic allocation of Non-RLS file G9XTO failed. Return code
X'0004',X'0210' in module DFHFCFS.


Where is this message coming from ?


is your batch program trying to communicate with CICS and how?
Back to top
View user's profile Send private message
spjayaram

New User


Joined: 13 May 2008
Posts: 12
Location: chennai

PostPosted: Fri Jun 27, 2008 7:56 pm
Reply with quote

hi.. thanks for the response..

below are the details,

1. Executing a batch program ABC thru a JCL. The aim is to open few files in the online region which are alredy close disabled.
2. This program uses CBL XOPTS(EXCI) method and calls another online pgm as below,
EXEC CICS LINK PROGRAM(xyz)
APPLID(online-region-name)
COMMAREA(WS-DFHCOMMAREA)
LENGTH(LENGTH OF WS-DFHCOMMAREA)
DATALENGTH(LENGTH OF WS-DFHCOMMAREA)
RETCODE(EXCI-EXEC-RETURN-CODE)
SYNCONRETURN
END-EXEC.

The 'online-region-name' is passed to the batch program thru a caontrol card and also the file names that need to opened are also passed thru the ctl card.

3. The online program xyz program uses the below commands to set the file status as requested,

EXEC CICS SET
FILE (COMMAND-FILE-NAME)
OPEN
ENABLED
NOHANDLE
END-EXEC
********************************************************

out of the 4 files requested for opening, only 3 are gettign opened successfully. The file name mentioned in the problem description alone fails to open with the below message getting displayed in the CICS log..

DFHFC0952
Dynamic allocation of Non-RLS file G9XTO failed. Return code
X'0004',X'0210' in module DFHFCFS.




plse let me know further info is required..
thanks
sjayaram
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sat Jun 28, 2008 5:55 am
Reply with quote

Sjayaram,

thanks for better understanding.

1st, can you manually open the G9XTO file with CEMT ?
2nd, have you discussed this with your CICS Systems programmer?

lastly, there are 3rd party products available that you might want
to consider, which are designed specifically for communicating
with CICS from batch
>>> www.cicsworld.com/tools/Batch


Earl
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sun Jun 29, 2008 2:55 am
Reply with quote

Review the following links (watch the wraparound) -

publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dfhg4c00/1.39?ACTION=MATCHES&REQUEST=DFHFC0952&TYPE=FUZZY&SHELF=dfhasj00&DT=20070614214024&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT

publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/iea1a842/26.3.2?SHELF=&DT=20011024153852&CASE=

Bill
Back to top
View user's profile Send private message
spjayaram

New User


Joined: 13 May 2008
Posts: 12
Location: chennai

PostPosted: Sun Jun 29, 2008 11:41 am
Reply with quote

Hi Earl,

1. Yes. We are able to open the file mannualy with CEMT.
2. No. not yet. But now I think I will have to go to them.
3. This is not under my control. But thanks for this information.

regards
sjayaram



Earl Haigh wrote:
Sjayaram,

thanks for better understanding.

1st, can you manually open the G9XTO file with CEMT ?
2nd, have you discussed this with your CICS Systems programmer?

lastly, there are 3rd party products available that you might want
to consider, which are designed specifically for communicating
with CICS from batch
>>> www.cicsworld.com/tools/Batch


Earl
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Mon Jun 30, 2008 6:44 pm
Reply with quote

spjayaram,

if you can manually open the file with CEMT, then I would suspect
a problem with your online program that isssues the

EXEC CICS SET
FILE (COMMAND-FILE-NAME)
OPEN
ENABLED
NOHANDLE
END-EXEC

are you sure the field COMMAND-FILE-NAME has the correct value
in it ?
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Mon Jun 30, 2008 6:48 pm
Reply with quote

spjayaram,


does the program issuing

EXEC CICS SET
FILE (COMMAND-FILE-NAME)
OPEN
ENABLED
NOHANDLE
END-EXEC


run in the same CICS region where the G9XTO file is defined ? Your CICS
systems programmer can answer this.
Back to top
View user's profile Send private message
spjayaram

New User


Joined: 13 May 2008
Posts: 12
Location: chennai

PostPosted: Mon Jun 30, 2008 10:06 pm
Reply with quote

Hi Earl,

Yes. I have made sure that the file names passed correctly. plse find the structue of my control card,

FO,A$DPUX01,GM1A,
FO,A$DPUX01,GM1C,
FO,A$DPUX01,GM1S,
FO,A$DPUX01,GMXT,
FO,A$DPUX01,GMXTO,
FO,A$DPUX01,GMXU,


FO - Denotes full open. this option would take to the SET OPEN ENABLE para.
A$DPUX01 - is the online cics region name
GM* - these are the file names

I get all the files ope/ena except GMXT and GMXTO. So i beleve nothing can be wrong with the control card.

plse let me know if u find anything fishy in the above...thanks so much for ur efforts..

sj


Earl Haigh wrote:
spjayaram,


does the program issuing

EXEC CICS SET
FILE (COMMAND-FILE-NAME)
OPEN
ENABLED
NOHANDLE
END-EXEC


run in the same CICS region where the G9XTO file is defined ? Your CICS
systems programmer can answer this.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Jul 01, 2008 6:56 am
Reply with quote

spjayaram,

first of all, the control cards you show,

do not reflect the file name G9XTO

2nd,

are you a cics programmer, and do you know how to
debug the online program A$DPUX01

The online program is running under a mirror transaction in A$DPUX01,

find out the 4charact tranid for the mirror transaction,

go to a 3270 CICS terminal

and from a blank screen,

type CEDX,???? ???? is the mirror tranid

then submit your batch job,

return to the 3270 CICS terminal and walk through
the cics commands and see what happens when it tries
to openn the G9XTO file.


if you are not authorized to do, then you need to contact
your CICS systems programmer.
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 2:47 pm
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
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Jul 01, 2008 8:34 pm
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
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: 475

PostPosted: Tue Jul 01, 2008 10:30 pm
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: 18
Location: China

PostPosted: Fri Jun 26, 2009 9:04 am
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 26, 2009 9:16 am
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
tswastik

New User


Joined: 01 Jun 2005
Posts: 3
Location: Minnetonka

PostPosted: Fri Jul 30, 2010 2:36 pm
Reply with quote

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
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 How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
Search our Forums:

Back to Top