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
 
How to Resolve the File Status 90

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
vijay_bn79

New User


Joined: 20 Nov 2006
Posts: 48
Location: Hyderabad

PostPosted: Thu Sep 20, 2007 11:14 am    Post subject: How to Resolve the File Status 90
Reply with quote

Hi,

Any body please give me solution to resolve the File Status 90

Thanks
Vijayakumar
Back to top
View user's profile Send private message

snehalpatel

New User


Joined: 13 Sep 2007
Posts: 37
Location: India

PostPosted: Thu Sep 20, 2007 11:33 am    Post subject: Re: How to Resolve the File Status 90
Reply with quote

vijay_bn79 wrote:
Hi,

Any body please give me solution to resolve the File Status 90

Thanks
Vijayakumar


Description for File Status is : 'SOME TYPE OF VSAM LOGIC ERROR'
Sometimes we may get this error For Non-Vsam Files ..
Please check whether DD name in Program matchs with the name in Run JCL. I am not very much sure whether it works.
Back to top
View user's profile Send private message
anv2005

New User


Joined: 14 Jul 2005
Posts: 44
Location: US

PostPosted: Fri Sep 21, 2007 11:18 pm    Post subject:
Reply with quote

The file status key value 90 may indicate that DFSMS had failed to perform an OPEN, CLOSE, READ or WRITE request. DFSMS issues one or more error messages to aid in problem diagnostic and return control back to COBOL program.

Check the JESMSGLG file on the job's output/held queue for any system or DFSMS message, e.g. IEC143I.

Regards,
Alex.
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: Fri Sep 21, 2007 11:34 pm    Post subject:
Reply with quote

Hello,

Quote:
Any body please give me solution to resolve the File Status 90
If you post something to work with, someone may have suggestions.

Post your select, fd, open, the jcl for this step and the diagnostic informatin presented. Use copy/paste rather than keying.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sat Sep 22, 2007 3:38 am    Post subject: Re: How to Resolve the File Status 90
Reply with quote

vijay_bn79 wrote:
Any body please give me solution to resolve the File Status 90
Simple, add the second six byre value for the file status and find EXACTLY what VSAM is complaining about...Awaiting your information.... icon_lol.gif
Back to top
View user's profile Send private message
saptagiri kintali

New User


Joined: 21 Sep 2007
Posts: 20
Location: chennai

PostPosted: Mon Sep 24, 2007 12:34 pm    Post subject:
Reply with quote

@cics GUY
wat do you mean by second six byre pls
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Sep 24, 2007 1:02 pm    Post subject:
Reply with quote

data-name-8
Represents information returned from the file system. Since the definitions are specific to the file systems and platforms, applications that depend on the specific values in data-name-8 might not be portable across platforms.
Data-name-8 must be defined as a group item of 6 bytes in the working-storage or linkage section of the Data Division.
Specify data-name-8 only if the file is a VSAM file (that is, ESDS, KSDS, RRDS).
Back to top
View user's profile Send private message
snehalpatel

New User


Joined: 13 Sep 2007
Posts: 37
Location: India

PostPosted: Mon Sep 24, 2007 1:40 pm    Post subject:
Reply with quote

saptagiri kintali wrote:
@cics GUY
wat do you mean by second six byre pls


Hope this Example helps :

Code:
 FILE-CONTROL.
     SELECT VSAM-FILE ASSIGN VSAMFILE
        ORGANIZATION IS INDEXED
        ACCESS MODE  IS SEQUENTIAL
        RECORD KEY   IS VSAM-RECORD-KEY
        FILE STATUS  IS VSAM-STATUS-CODE
                        VSAM-EXTENDED-STATUS-CODE.

 DATA DIVISION.
 FILE SECTION.

 FD  VSAM-FILE.
 01  VSAM-RECORD.
     05  VSAM-RECORD-KEY         PIC X(20).
     05  VSAM-EMPLY-INFO           PIC X(60).

 WORKING-STORAGE SECTION.

 01  VSAM-STATUS-CODE.
     05 VSAM-STATUS-CODE-BYTE1   PIC X.
     05 VSAM-STATUS-CODE-BYTE2   PIC X.

 01  VSAM-EXTENDED-STATUS-CODE.
     05 VSAM-EXTENDED-RETURN-CODE   PIC S9(4) COMP.
     05 VSAM-EXTENDED-FUNCTION-CODE PIC S9(4) COMP.
     05 VSAM-EXTENDED-FEEDBACK-CODE PIC S9(4) COMP.
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: Mon Sep 24, 2007 6:22 pm    Post subject:
Reply with quote

Hello,

Now that we see the definition, we also need to see the values received by your program.
Back to top
View user's profile Send private message
sriramvempaty

New User


Joined: 02 Aug 2007
Posts: 18
Location: india

PostPosted: Wed Sep 26, 2007 12:34 pm    Post subject: Reply to: How to Resolve the File Status 90
Reply with quote

Hi Snehal,

I think the format of select clause should be corrected.

you coded as : SELECT VSAM-FILE ASSIGN VSAMFILE


Correct format : SELECT VSAM-FILE ASSIGN TO VSAMFILE


Hope this will solve your problem.

Regards,
Sriram.
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 -> COBOL Programming 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