View previous topic :: View next topic
|
Author |
Message |
spjayaram
New User
Joined: 13 May 2008 Posts: 12 Location: chennai
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Please review the Messages and Codes manual applicable to your CICS Version/Release.
Bill |
|
Back to top |
|
|
spjayaram
New User
Joined: 13 May 2008 Posts: 12 Location: chennai
|
|
|
|
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 |
|
|
spjayaram
New User
Joined: 13 May 2008 Posts: 12 Location: chennai
|
|
|
|
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 |
|
|
spjayaram
New User
Joined: 13 May 2008 Posts: 12 Location: chennai
|
|
|
|
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 |
|
|
spjayaram
New User
Joined: 13 May 2008 Posts: 12 Location: chennai
|
|
|
|
hi all,
can any one help on this prob?
thanks |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
spjayaram
New User
Joined: 13 May 2008 Posts: 12 Location: chennai
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
spjayaram
New User
Joined: 13 May 2008 Posts: 12 Location: chennai
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
spjayaram
New User
Joined: 13 May 2008 Posts: 12 Location: chennai
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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: 475
|
|
|
|
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: 18 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
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|