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 solve U4038 with File status 46 ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Tharak

New User


Joined: 22 May 2006
Posts: 2

PostPosted: Mon May 22, 2006 10:58 am    Post subject: How to solve U4038 with File status 46 ?
Reply with quote

Please help me fix this
Back to top
View user's profile Send private message

twissi

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Mon May 22, 2006 6:20 pm    Post subject:
Reply with quote

Hi Tharak,

Look at your program again with the reason for File Status 46:

A sequential READ statement was attempted on a file open in the input or I-O mode and no valid next record had been established because:
1. The preceding READ statement was unsuccessful but did not cause an at end condition
2. The preceding READ statement caused an at end condition.

Cheers, Twissi.
Back to top
View user's profile Send private message
vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 180

PostPosted: Tue May 23, 2006 12:06 am    Post subject: Hello
Reply with quote

There is something wrong with u r i/p file.Check u r job to see if the lrec u have provided there and in the pgm are the same.
Back to top
View user's profile Send private message
Tharak

New User


Joined: 22 May 2006
Posts: 2

PostPosted: Tue May 23, 2006 2:17 am    Post subject:
Reply with quote

Hi Twissi,

Thanks for your quick reply....It worked....

Cheers
Tharak
Back to top
View user's profile Send private message
twissi

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Tue May 23, 2006 2:03 pm    Post subject:
Reply with quote

Tharak,

No problem, I'm glad that it worked.

Vijayamadhuri, just for your information, if there's a mismatch between the LRECL in the program and the JCL, the file status will be 90.

Cheers, Twissi.
Back to top
View user's profile Send private message
rock23

New User


Joined: 19 Sep 2010
Posts: 1
Location: coimbatore

PostPosted: Fri Oct 15, 2010 3:13 pm    Post subject: Reply to: How to solve U4038 with File status 46 ?
Reply with quote

Twissi,

Then what would cause file status 46.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Fri Oct 15, 2010 3:22 pm    Post subject: Reply to: How to solve U4038 with File status 46 ?
Reply with quote

the topic is 4 years old,
Twissi might not be hanging around here any longer (last post in 2008)

when You have something to ask start a new topic

why not look Yourself at the manual for the explanation!
the manuals link is at the top of the page
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm
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


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