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
 

 

Strange behavior with VSAM

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

New User


Joined: 15 Jun 2007
Posts: 87
Location: bangalore

PostPosted: Fri Jul 06, 2012 10:32 am    Post subject: Strange behavior with VSAM
Reply with quote

Hi All ,

i am facing some strange behaviour with my VSAM files.

I have 4 VSAM files in program. when i run with some set of files it is working properly. To cover some of the test cases
i tried below things.
1.i hav copied one of the VSAM File and edited some filed. when i run with this new file and other 3 files my job is abending with return code 90 for other files..
2. i thought may my edited VSAM file is causing issue and i created one more VSAM file with the same data This time i didn't change anything in the file. i.e now i just changed the file name of one VSAM file everything is same. But still my job is abending with same error code.Only difference between the file names is Highlevel qualifier.

Could some one please help me on this..

Thanks,
Chandra.
Back to top
View user's profile Send private message

Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Fri Jul 06, 2012 10:37 am    Post subject:
Reply with quote

Quote:
abending with return code 90

Which statement gave this error?

Please post the entire error message from job log, possibly with error ID.
Back to top
View user's profile Send private message
chandracdac

New User


Joined: 15 Jun 2007
Posts: 87
Location: bangalore

PostPosted: Fri Jul 06, 2012 10:59 am    Post subject: Reply to: Strange behavior with VSAM
Reply with quote

I am sorry i forgot to mention that.

when i tried opening the files.. all files are input only.

MF00FS:00
MF04FS:00
MF11FS:00
MF12FS:90
MF17FS:90
MF20FS:90
*********************************************
* US VSAM FILE OPEN ERROR *
* FILE STATUS CODE 90
* *
*********************************************
CEE3250C The system or user abend U 099 R=NULL was issued.

Thanks
Chandra.
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Fri Jul 06, 2012 11:16 am    Post subject:
Reply with quote

Okay. Does job's JESMSGLG or JESYSMSG has any info regarding VSAM error?

You may need to try with extended VSAM Return-code to get more info.

Here is an example.
http://ibmmainframes.com/post-98817.html
Back to top
View user's profile Send private message
sandip_mainframe
Warnings : 2

New User


Joined: 20 Sep 2006
Posts: 61
Location: pune

PostPosted: Wed Jul 11, 2012 3:51 pm    Post subject: Reply to: Strange behavior with VSAM
Reply with quote

Hi chandra,

Whenever you perform any operation on the file, display file status every time. Let's say if you open the file,
DISPLAY ' OPEN FILE STATUS : ' FILE-STATUS-VAR

When you edit or delete file display the status.
DISPLAY ' EDIT FILE STATUS : ' FILE-STATUS-VAR

By this way you can catch exactly where you are getting file-status 90.


Thanks,
Sandip Walsinge
Walsinge Technologies Pvt Ltd, Pune.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Wed Jul 11, 2012 4:24 pm    Post subject: Reply to: Strange behavior with VSAM
Reply with quote

Sandip, the TS knows which file is failing.

Why do you not suggest the extended file status that is available for VSAM files? That might help in establishing what the 90 is...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Wed Jul 11, 2012 4:30 pm    Post subject:
Reply with quote

Is your TSO / ISPF edit session set to retain trailing blanks or not? If not, the record length would change after an edit since the trailing blanks would be removed.

But as others have said your should use the extended file status clause to get the extra data VSAM will give you.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Thu Jul 26, 2012 9:58 pm    Post subject:
Reply with quote

When you renamed the VSAM file did you just rename the Cluster name or the Data and Index components as well?

RC=90 is usually something to do with a catalog error, but it would help if you included and IEC161I, IDC3090 or IEC3351I messages as well as the RETURN and REASON codes, and also a the full LISTCAT output for the file name (cluster) that is producing the error.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Jul 26, 2012 10:05 pm    Post subject: Reply to: Strange behavior with VSAM
Reply with quote

Bill Woodger said -
Quote:
Why do you not suggest the extended file status that is available for VSAM files? That might help in establishing what the 90 is...

Yeah Bill, I'm for that too as this is the OP's best bet on drilling-down to the specific error-condition associated with this status-code.
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 BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts VSAM define for large file jerryte JCL & VSAM 9 Wed Oct 05, 2016 1:51 am
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us