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
 

 

Report file status 93 -resource not available

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vice_versa
Warnings : 1

New User


Joined: 26 Feb 2006
Posts: 15
Location: usa

PostPosted: Mon Oct 13, 2008 11:31 am    Post subject: Report file status 93 -resource not available
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: 7931
Location: Bellevue, IA

PostPosted: Mon Oct 13, 2008 4:47 pm    Post subject:
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: 15
Location: usa

PostPosted: Tue Oct 14, 2008 10:24 am    Post subject:
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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Oct 14, 2008 11:36 am    Post subject:
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: 7931
Location: Bellevue, IA

PostPosted: Tue Oct 14, 2008 4:45 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm
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 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