|
|
| Author |
Message |
anandinmainframe
New User
Joined: 31 May 2007 Posts: 28 Location: chennai
|
|
|
|
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 |
|
 |
References
|
Posted: Mon Jun 23, 2008 9:51 am Post subject: Re: Getting 93 error RESOURCE NOT AVAILABLE |
 |
|
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7452 Location: 221 B Baker St
|
|
|
|
Hello,
Is this happening online or in batch?
Is this happening on a read or an open? |
|
| Back to top |
|
 |
anandinmainframe
New User
Joined: 31 May 2007 Posts: 28 Location: chennai
|
|
|
|
This is happening in Batch
its happening during open |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7452 Location: 221 B Baker St
|
|
|
|
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 |
|
 |
anandinmainframe
New User
Joined: 31 May 2007 Posts: 28 Location: chennai
|
|
|
|
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 |
|
 |
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 962 Location: Virginia, USA
|
|
|
|
| You are using an SQL cursor and SELECT to get data from a VSAM file? |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 328 Location: Atlanta, GA
|
|
|
|
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 |
|
 |
anandinmainframe
New User
Joined: 31 May 2007 Posts: 28 Location: chennai
|
|
|
|
Hi All,
Thanks for the support the issue has been resolved
thank you all once again for your support |
|
| Back to top |
|
 |
Bill O'Boyle
Active User
Joined: 14 Jan 2008 Posts: 262 Location: Orlando, FL, USA
|
|
|
|
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 |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7452 Location: 221 B Baker St
|
|
|
|
Hello,
| Quote: |
| Thanks for the support the issue has been resolved |
Good to hear it is working - what was the fix? |
|
| Back to top |
|
 |
|
|