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
 

 

File Status 90 : While writing a file

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

New User


Joined: 12 Oct 2009
Posts: 35
Location: Chennai

PostPosted: Wed Jan 06, 2010 5:27 pm    Post subject: File Status 90 : While writing a file
Reply with quote

hi,

I am getting the file status 90 while writing a file.
The output file which is i am writing is a TAPE file.
Could anyone tell me the reason for this?


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

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jan 06, 2010 5:34 pm    Post subject:
Reply with quote

Why not look at the sticky topic labelled file status codes, which at the time of posting this reply is the one directly above this post icon_rolleyes.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Jan 06, 2010 5:39 pm    Post subject:
Reply with quote

Any messages in the joblog?
Back to top
View user's profile Send private message
pecram24

New User


Joined: 12 Oct 2009
Posts: 35
Location: Chennai

PostPosted: Wed Jan 06, 2010 5:45 pm    Post subject:
Reply with quote

there is no other messages... icon_sad.gif
Back to top
View user's profile Send private message
pecram24

New User


Joined: 12 Oct 2009
Posts: 35
Location: Chennai

PostPosted: Wed Jan 06, 2010 5:47 pm    Post subject:
Reply with quote

The output file is NOT a VSAM file....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed Jan 06, 2010 5:49 pm    Post subject:
Reply with quote

Did you check the file status on the OPEN?
What does your ASSIGN statement look like?
What does the JCL statement for the file look like?
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: Wed Jan 06, 2010 5:57 pm    Post subject: Reply to: File Status 90 : WRITE
Reply with quote

Questions -

01) Was the file opened successfully?
02) Do the DCB characteristics match with the program?
03) There must be messages raised in the JOBLOG (as Peter suggests)
04) Is this the first time you have executed this program?
05) Has the program ever worked before?

Sometimes a "90" can be an elusive and "too generic" a status-code.

Could you add the the secondary status-codes to the program, which consists of a group-level, with three elementary binary-halfwords? This is defined in the COBOL manual and could pinpoint your error.

Bill
Back to top
View user's profile Send private message
Andy85

New User


Joined: 25 Dec 2008
Posts: 35
Location: India

PostPosted: Wed Jan 06, 2010 5:58 pm    Post subject:
Reply with quote

Check whether the file attributes in JCL and program are in sync. Sometimes, this also gives file status 90.


Andy.
Back to top
View user's profile Send private message
pecram24

New User


Joined: 12 Oct 2009
Posts: 35
Location: Chennai

PostPosted: Wed Jan 06, 2010 6:06 pm    Post subject:
Reply with quote

The attributes are in SYNC.
The file has some processed records also.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jan 06, 2010 9:05 pm    Post subject:
Reply with quote

pecram24 wrote:
The file has some processed records also.
icon_confused.gif How do you know that? What DISP did you use?
Back to top
View user's profile Send private message
pecram24

New User


Joined: 12 Oct 2009
Posts: 35
Location: Chennai

PostPosted: Wed Jan 06, 2010 9:39 pm    Post subject: Reply to: File Status 90 : WRITE
Reply with quote

because the disp parm is new,catlg,catlg
Back to top
View user's profile Send private message
Himaprasad

New User


Joined: 05 Apr 2006
Posts: 2

PostPosted: Thu Jan 07, 2010 12:17 pm    Post subject: Reply to: File Status 90 : WRITE
Reply with quote

Since you are using Tape as an output did you mention the Volume correctly. I guess that could be the reason.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jan 07, 2010 12:22 pm    Post subject: Re: Reply to: File Status 90 : WRITE
Reply with quote

Himaprasad wrote:
Since you are using Tape as an output did you mention the Volume correctly. I guess that could be the reason.

Why would anyone need to mention the volume ?
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: Thu Jan 07, 2010 9:42 pm    Post subject:
Reply with quote

Hi Expat,

Quote:
Why would anyone need to mention the volume
Because there is no automated tape management system. . . Hard to believe, but they do still exist. . . And those sites experience many really dumb problems. . .

For pecram24,
Quote:
The file has some processed records also.
Quote:
How do you know that? What DISP did you use?

Quote:
because the disp parm is new,catlg,catlg
Why do you believe a disp of NEW means there are "some processed records"?
Back to top
View user's profile Send private message
pecram24

New User


Joined: 12 Oct 2009
Posts: 35
Location: Chennai

PostPosted: Thu Jan 07, 2010 10:30 pm    Post subject:
Reply with quote

not only because of the DISP parm...
i could see the records in theoutput file after converting into flat file
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Jan 07, 2010 10:37 pm    Post subject:
Reply with quote

Are the records fix length or variable length?
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1238
Location: Richfield, MN, USA

PostPosted: Fri Jan 08, 2010 6:24 am    Post subject:
Reply with quote

pecram24, please answer Bill's questions rather than piece meal bits of info here and there. If you expect help, you must provide the answers to the questions posed to you.
Back to top
View user's profile Send private message
pecram24

New User


Joined: 12 Oct 2009
Posts: 35
Location: Chennai

PostPosted: Fri Jan 08, 2010 10:04 am    Post subject:
Reply with quote

yes the records are FIXED length records..
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 Jan 08, 2010 11:44 pm    Post subject:
Reply with quote

Hello,

That does not answer Bill's questions. . .
Back to top
View user's profile Send private message
Chirantan Banerjee

New User


Joined: 08 Oct 2009
Posts: 12
Location: Kolkata, India

PostPosted: Fri Feb 12, 2010 4:52 pm    Post subject:
Reply with quote

What exactly is your output file type - first you say that it is NOT a VSAM then you are saying that you needed to convert it to a flat file to view it .... this is confusing
Quote:
The output file is NOT a VSAM file....

Quote:
not only because of the DISP parm...
i could see the records in theoutput file after converting into flat file

If the original o/p file is a VSAM, then please follow Bill's suggestion - it would definitely help. If it's not a VSAM even then try it out - it might help.
Quote:
Could you add the the secondary status-codes to the program, which consists of a group-level, with three elementary binary-halfwords? This is defined in the COBOL manual and could pinpoint your error.
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 Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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