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 

open file return status 39

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Fri Jul 14, 2006 4:14 am    Post subject: open file return status 39 Reply with quote

I have check the profile between the normal file I test and the abnormal file which returned 39 .
I found the maxlrecl and avelrecl of INDEX is not the same,Did index's maxlrecl has some relation to the record I read?The cluster's average and max length is the same as the length(200) described in FD of the cobol program.
Quote:

DATA-----SWJP.RF.BC.I01.RFACTJP.VLOAD.DATA
INDEX----SWJP.RF.BC.I01.RFACTJP.VLOAD.INDEX
AIX------SWJP.RF.BC.I01.RFACTJP.AIX

DATA ------- SWJP.RF.BC.I01.RFACTJP.VLOAD.DATA
IN-CAT --- CATALOG.UCAT.S$Z
HISTORY
DATASET-OWNER-----(NULL) CREATION--------2006.194
RELEASE----------------2 EXPIRATION------0000.000
ACCOUNT-INFO-----------------------------------(NULL)
PROTECTION-PSWD-----(NULL) RACF----------------(NO)
ASSOCIATIONS
CLUSTER--SWJP.RF.BC.I01.RFACTJP.VLOAD
ATTRIBUTES
KEYLEN----------------20 AVGLRECL-------------200 BUFSPACE------
RKP--------------------0 MAXLRECL-------------200 EXCPEXIT------
STRIPE-COUNT-----------1
SHROPTNS(2,3) SPEED UNIQUE NOERASE INDEXED


Follow is the abnormal:
Quote:
BROWSE -- SWJP.RF.BC.I01.RFACTJP.VLOAD ------------- Line 00000078 Col 001 080
Command ===> Scroll ===> CSR
INDEX ------ SWJP.RF.BC.I01.RFACTJP.VLOAD.INDEX
IN-CAT --- CATALOG.UCAT.S$Z
HISTORY
DATASET-OWNER-----(NULL) CREATION--------2006.194
RELEASE----------------2 EXPIRATION------0000.000
PROTECTION-PSWD-----(NULL) RACF----------------(NO)
ASSOCIATIONS
CLUSTER--SWJP.RF.BC.I01.RFACTJP.VLOAD
ATTRIBUTES
KEYLEN----------------20 AVGLRECL---------------0 BUFSPACE------
RKP--------------------0 MAXLRECL------------2041 EXCPEXIT------
SHROPTNS(2,3) SPEED UNIQUE NOERASE NOWRITECHK
NOREUSE EXTENDED EXT-ADDR
STATISTICS
REC-TOTAL--------------3 SPLITS-CI--------------0 EXCPS---------
REC-DELETED------------0 SPLITS-CA--------------0 EXTENTS-------
REC-INSERTED-----------0 FREESPACE-%CI----------0 SYSTEM-TIMESTA
REC-UPDATED------------0 FREESPACE-%CA----------0 X'BF185B3
REC-RETRIEVED----------0 FREESPC-----------294912
ALLOCATION
SPACE-TYPE---------TRACK HI-A-RBA----------301056
SPACE-PRI--------------7 HI-U-RBA------------6144

follow is the normal file:
Quote:
. . . . . . . . . . . . . . . . . . . . . . . . . . .
BROWSE -- STJP.RF.BC.I01.RFACTJP.VLOAD ------------- Line 00000077 Col 001 080
Command ===> Scroll ===> CSR
INDEX ------ STJP.RF.BC.I01.RFACTJP.VLOAD.INDEX
IN-CAT --- CATALOG.UCAT.I$N
HISTORY
DATASET-OWNER-----(NULL) CREATION--------2006.045
RELEASE----------------2 EXPIRATION------0000.000
PROTECTION-PSWD-----(NULL) RACF----------------(NO)
ASSOCIATIONS
CLUSTER--STJP.RF.BC.I01.RFACTJP.VLOAD
ATTRIBUTES
KEYLEN----------------20 AVGLRECL---------------0 BUFSPACE------
RKP--------------------0 MAXLRECL------------1017 EXCPEXIT------
SHROPTNS(4,3) SPEED UNIQUE NOERASE NOWRITECHK
NOREUSE EXTENDED EXT-ADDR
STATISTICS
REC-TOTAL--------------1 SPLITS-CI--------------0 EXCPS---------
REC-DELETED------------0 SPLITS-CA--------------0 EXTENTS-------
REC-INSERTED-----------0 FREESPACE-%CI----------0 SYSTEM-TIMESTA
REC-UPDATED------------0 FREESPACE-%CA----------0 X'BF1970B
REC-RETRIEVED----------0 FREESPC-----------235520
ALLOCATION
SPACE-TYPE---------TRACK HI-A-RBA----------236544
Back to top
View user's profile Send private message Send e-mail MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Fri Jul 14, 2006 4:51 am    Post subject: Reply with quote

issac1029,

Go to www.mvsforums.com

Under the Messages and Error Codes section you will find VSAM ERROR CODES. Click on it and find the explanation for the error code 39

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management 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