IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Getting Empty file error when records exist in KSDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
catchyblues

New User


Joined: 28 Dec 2005
Posts: 24

PostPosted: Fri Jan 27, 2006 9:41 pm
Reply with quote

hi

I'm getting an empty file error(handled the error condition to display to that file is empty ) even though i have about 15 records in the KSDS file. What could be the likely problem ?

I'm pasting the file declaration accordingly

SELECT GPR ASSIGN TO GPR
ORGANIZATION IS INDEXED
ACCESS MODE IS SEQUENTIAL
RECORD KEY IS GPR-POLICY
FILE STATUS IS W01-GPR-STATUS


thanks in advance
CB
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Sat Jan 28, 2006 3:17 pm
Reply with quote

Hello CB,
Can you please explain us what File Status you used to check for Empty VSAM file ? Can you paste the Error Handling contitions you checked after opening the VSAM file and after reading the first record.

"01" FileStatus indicates EOF.

Thanks,
Itanium
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 7
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Error when install DB2 DB2 2
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top