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

Report file status 93 -resource not available


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vice_versa
Warnings : 1

New User


Joined: 26 Feb 2006
Posts: 19
Location: usa

PostPosted: Mon Oct 13, 2008 11:31 am
Reply with quote

I design a system that may many job write/rewrite a vsam file at same
time(the shareption is (2,3),record length is 500,CISize=27000),But
system sometime report file status 93 -resource not available.
How to fix it?
thanks
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon Oct 13, 2008 4:47 pm
Reply with quote

What form of enqueue / dequeue do you use to ensure the writes or rewrites don't happen to the same CI at the same time?
Back to top
View user's profile Send private message
vice_versa
Warnings : 1

New User


Joined: 26 Feb 2006
Posts: 19
Location: usa

PostPosted: Tue Oct 14, 2008 10:24 am
Reply with quote

Robert,
enqueue / dequeue is for cics online program?
My program is batch program,how to resolve it?
thanks
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: Tue Oct 14, 2008 11:36 am
Reply with quote

Hello,

Quote:
enqueue / dequeue is for cics online program?
Not solely. . .

It is to provide a way to serialize the use of some resource.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 14, 2008 4:45 pm
Reply with quote

If you have multiple batch processes writing a VSAM file, you need to be able to ensure nobody updates the CI you're writing into; that's the whole point of enqueue and dequeue. They are used a lot in CICS because that's where multiple writes to a VSAM file are done mostly -- but if you're doing it in batch, you'd better be doing something similar or you'll have problems. You may have to write an Assembler subroutine to handle this.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top