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
 
Getting 93 error RESOURCE NOT AVAILABLE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
anandinmainframe

New User


Joined: 31 May 2007
Posts: 28
Location: chennai

PostPosted: Mon Jun 23, 2008 9:51 am    Post subject: Getting 93 error RESOURCE NOT AVAILABLE
Reply with quote

Hi,
I am trying to retrieve bunch of data and i am getting 93 error ('VSAM - VIRTSTOR. RESOURCE NOT AVAILABLE')whereas the cluster i am using is capable of holding several thousands of records.
Back to top
View user's profile Send private message
References
PostPosted: Mon Jun 23, 2008 9:51 am    Post subject: Re: Getting 93 error RESOURCE NOT AVAILABLE Reply with quote

dick scherrer

Global Moderator


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

PostPosted: Mon Jun 23, 2008 11:33 am    Post subject:
Reply with quote

Hello,

Is this happening online or in batch?

Is this happening on a read or an open?
Back to top
View user's profile Send private message
anandinmainframe

New User


Joined: 31 May 2007
Posts: 28
Location: chennai

PostPosted: Mon Jun 23, 2008 11:48 am    Post subject: Reply to: Getting 93 error
Reply with quote

This is happening in Batch
its happening during open
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


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

PostPosted: Mon Jun 23, 2008 11:50 am    Post subject:
Reply with quote

Hello,

Check your SELECT and the DD statements in the jcl and make sure they are correct.

It may help if you post the SELECT and the JCL for the step.
Back to top
View user's profile Send private message
anandinmainframe

New User


Joined: 31 May 2007
Posts: 28
Location: chennai

PostPosted: Mon Jun 23, 2008 3:53 pm    Post subject: Reply to: Getting 93 error RESOURCE NOT AVAILABLE
Reply with quote

i am selecting the fields through a cursor and it will be like decalre,open,fetch & close.
Select
Eg :
Select field1,field2,field3 from tablename
where condn
end-exec.

JCL is
//XXXXXXFI JOB (P,456R),'ANAND',CLASS=O,MSGCLASS=Y,REGION=30M,
// NOTIFY=&SYSUID,SCHENV=PRC1
//**************************************************************
//JOBLIB DD DSN=DB2P.SDSNLOAD,DISP=SHR
// DD DSN=DB2P.SDSNEXIT,DISP=SHR
// DD DSN=TESTREGION.LINKLIB,DISP=SHR
// DD DSN=PRODN.LINKLIB,DISP=SHR
// DD DSN=SYS5.PROD.LINKLIB,DISP=SHR
// DD DSN=SYS5.PROD.MLBS.LINKLIB,DISP=SHR
// DD DSN=SYSTEMS.LINKLIB,DISP=SHR
//***********************************************************
//I4XQTI01 EXEC PGM=IKJEFT01,DYNAMNBR=50
//***********************************************************
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSABOUT DD SYSOUT=*
//SYSOUX DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//JLKXX DD SYSOUT=*
//OPFILE1 DD DSN=FILE1.DATA(+1),
// DISP=(NEW,CATLG,DELETE),
// RECFM=FB,LRECL=100,
//CL1 DD DSN=XXXXXX.SDT.CL,DISP=SHR (cluster i am talking abt)
//DATEF DD DSN=XXXXXX..DATA,DISP=SHR (date file)
//SYSTSIN DD DSN=XXXXXX.CONTROL(I4XQTI),DISP=SHR(control file)
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 962
Location: Virginia, USA

PostPosted: Mon Jun 23, 2008 4:58 pm    Post subject:
Reply with quote

You are using an SQL cursor and SELECT to get data from a VSAM file?
Back to top
View user's profile Send private message
Robert Sample

Senior Member


Joined: 06 Jun 2008
Posts: 328
Location: Atlanta, GA

PostPosted: Mon Jun 23, 2008 5:06 pm    Post subject:
Reply with quote

Resource not available probably means your COBOL statement
SELECT WHATEVER ASSIGN TO CL1 doesn't use CL1 for the DD name. It has nothing to do with the SQL SELECT statement.
Back to top
View user's profile Send private message
anandinmainframe

New User


Joined: 31 May 2007
Posts: 28
Location: chennai

PostPosted: Mon Jun 23, 2008 6:59 pm    Post subject: Reply to: Getting 93 error RESOURCE NOT AVAILABLE
Reply with quote

Hi All,
Thanks for the support the issue has been resolved
thank you all once again for your support
Back to top
View user's profile Send private message
Bill O'Boyle

Active User


Joined: 14 Jan 2008
Posts: 262
Location: Orlando, FL, USA

PostPosted: Mon Jun 23, 2008 7:54 pm    Post subject: Re: Getting 93 error RESOURCE NOT AVAILABLE
Reply with quote

If the Batch program is opening the target file for other than INPUT and the file is Open/Enabled to CICS, you'll get a status "93".

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

Global Moderator


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

PostPosted: Mon Jun 23, 2008 11:20 pm    Post subject:
Reply with quote

Hello,

Quote:
Thanks for the support the issue has been resolved
Good to hear it is working - what was the fix?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1