MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VSAM Alt key - Error while OPEN.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
karthik80
Beginner


Joined: 07 Aug 2006
Posts: 1
Topics: 1

PostPosted: Mon Aug 07, 2006 6:10 am    Post subject: VSAM Alt key - Error while OPEN. Reply with quote

Hi,

I have a VSAM file with variable rec length.
The VSAM has an alternate index/path defined with duplicates.

have declared the SELECT clause with RECORD KEY is ALT-Key-DataName
and declared all 3, 01 layouts in the FD Section for the 3 variable record types.
Not defined any RECORD contains/label clauses.
Just FD VSAMFILE.

JCL has the physical path name for the DDNAME - VSAMFILE.

While i try to open the pathfile, I get a file-status 39.
Do I need to mention the max length of the file somewhere.

Please let me know.

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


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Mon Aug 07, 2006 9:28 am    Post subject: Reply with quote

karthik80,

Check this link which has the explanation for VSAM Error codes:

http://www.simotime.com/vsmfsk01.htm
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group