MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Reg File status code of 90 in VSE Environment.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Pk
Beginner


Joined: 23 Jul 2005
Posts: 11
Topics: 4

PostPosted: Mon Oct 10, 2005 12:30 am    Post subject: Reg File status code of 90 in VSE Environment. Reply with quote

Quote:
Posted: Tue Sep 06, 2005 12:54 pm Post subject: VSAM Status code 90


Hi ...
I have a query on VSAM File status of 90. I read through the above posting and the answers for that.!

My application runs on VSE operating system.

I am getting the file status of 90 when a production job runs with a production file. For testing, I would not be able to use the production file since it is opening the file in IO Mode. So when I copy the same production file to a test file and run the job, the file status of 90 is not coming? I searched for the reason for filestatus of 90 but was not able to come up with anything substantial. Can anyone please throw some light on it!

Thanks
Pk.
Back to top
View user's profile Send private message Yahoo Messenger
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Mon Oct 10, 2005 2:08 am    Post subject: Reply with quote

File Status 90 is Program Logic Error.

some reasons:
Trying to Write to a file that has already been Closed.
Trying to Update a record that you didn't READ for Update.
Or that you Already Updated.
Or that you have Changed the Key of and so on.
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Oct 10, 2005 3:25 am    Post subject: Reply with quote

pk,

Quote:

So when I copy the same production file to a test file and run the job, the file status of 90 is not coming?


As kolusu said in the other post, File Status 90 happens mainly due to sharing the same vsam file. In your case, the production file is more likely to be shared across jobs/regions. But when you make a copy of the file to your name, it is available exclusively for you and so you don't end up in File Status 90.

Try to find out how many jobs/regions are trying to access the file at a given point of time or try to run your job after sometime when the batch run is complete.

Thanks,
Phantom
Back to top
View user's profile Send private message
Pk
Beginner


Joined: 23 Jul 2005
Posts: 11
Topics: 4

PostPosted: Thu Oct 13, 2005 11:25 pm    Post subject: Reply with quote

Thanks Anil and Phantom!

Phantom,

I would look into the other jobs that are accessing the file and see if there is a contention!

Thanks once again!
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group