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
 

 

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 Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am


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