Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Dynamic allocation of Non-RLS file G9XTO failed. Return code
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Dynamic allocation of Non-RLS file G9XTO failed. Return code
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Jun 20, 2008 7:10 pm    Post subject: Re: Dynamic allocation of Non-RLS file
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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
>>> http://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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Sun Jun 29, 2008 2:55 am    Post subject: Re: Dynamic allocation of Non-RLS file G9XTO failed. Return
Reply with quote

Review the following links (watch the wraparound) -

http://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

http://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    Post subject:
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
>>> http://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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    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
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

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: 475

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: 18
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us