Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 16
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: 8165
Location: East Dubuque, Illinois, USA

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: 16
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: 8165
Location: East Dubuque, Illinois, USA

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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us