View previous topic :: View next topic |
Author |
Message |
Pk Beginner
Joined: 23 Jul 2005 Posts: 11 Topics: 4
|
Posted: Mon Oct 10, 2005 12:30 am Post subject: Reg File status code of 90 in VSE Environment. |
|
|
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 |
|
|
ANIL SARATHY Beginner
Joined: 30 Aug 2005 Posts: 88 Topics: 3 Location: Syracuse,New york
|
Posted: Mon Oct 10, 2005 2:08 am Post subject: |
|
|
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 |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Mon Oct 10, 2005 3:25 am Post subject: |
|
|
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 |
|
|
Pk Beginner
Joined: 23 Jul 2005 Posts: 11 Topics: 4
|
Posted: Thu Oct 13, 2005 11:25 pm Post subject: |
|
|
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 |
|
|
|
|