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

DUPL error while inserting into a KSDS..


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

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Tue May 12, 2009 4:57 pm
Reply with quote

Hi,

We have a KSDS:

Code:

FILE1.KSDS

ATTRIBUTES                                             
  KEYLEN----------------26     AVGLRECL-------------120
  RKP--------------------0     MAXLRECL-------------120
  SHROPTNS(2,3)      SPEED     UNIQUE           NOERASE
  UNORDERED        NOREUSE     NONSPANNED               
STATISTICS                                               
  REC-TOTAL-----------9653     SPLITS-CI--------------0   
  REC-DELETED------------3     SPLITS-CA--------------0   
  REC-INSERTED-----------5     FREESPACE-%CI---------12   
  REC-UPDATED------------0     FREESPACE-%CA---------10   
  REC-RETRIEVED----2413535     FREESPC-----------995328   
ALLOCATION                                               
  SPACE-TYPE---------TRACK     HI-A-RBA---------2359296   
  SPACE-PRI-------------48     HI-U-RBA---------1769472   
  SPACE-SEC-------------12                               
 
 BUFSPACE-----------10240     CISIZE--------------4096 
 EXCPEXIT----------(NULL)     CI/CA----------------144 
 INDEXED       NOWRITECHK     NOIMBED       NOREPLICAT 
                                                       
                                                       
 EXCPS---------------7304                               
 EXTENTS----------------1                               
 SYSTEM-TIMESTAMP:                                     
      X'C42B906DC354F509'                               

and it has two AIX's
Code:

FILE2.AIX
ATTRIBUTES                                                 
  KEYLEN-----------------5     AVGLRECL--------------36   
  RKP--------------------5     MAXLRECL-----------400000   
  AXRKP-----------------21                                 
  SHROPTNS(2,3)   RECOVERY     UNIQUE           NOERASE   
  UNORDERED        NOREUSE     SPANNED       NONUNIQKEY   
STATISTICS                                                 
  REC-TOTAL-----------2741     SPLITS-CI--------------0   
  REC-DELETED------------0     SPLITS-CA--------------0   
  REC-INSERTED-----------0     FREESPACE-%CI---------10   
  REC-UPDATED------------0     FREESPACE-%CA---------10   
  REC-RETRIEVED----------0     FREESPC-----------376832   
ALLOCATION                                                 
  SPACE-TYPE------CYLINDER     HI-A-RBA----------737280   
  SPACE-PRI--------------1     HI-U-RBA----------737280   
  SPACE-SEC--------------1                                 

BUFSPACE-----------10240     CISIZE--------------4096 
EXCPEXIT----------(NULL)     CI/CA----------------180 
                                                       
INDEXED       NOWRITECHK     NOIMBED       NOREPLICAT 
                                                       
                                                       
EXCPS------------------4                               
EXTENTS----------------1                               
SYSTEM-TIMESTAMP:                                     
     X'C42B906DD54BD1C6'                               
                                                       


and

Code:

FILE3.AIX

ATTRIBUTES                                               
  KEYLEN----------------25     AVGLRECL--------------56 
  RKP--------------------5     MAXLRECL-----------500000 
  AXRKP-----------------26                               
  SHROPTNS(2,3)   RECOVERY     UNIQUE           NOERASE 
  UNORDERED        NOREUSE     SPANNED       NONUNIQKEY 
STATISTICS                                               
  REC-TOTAL-----------2595     SPLITS-CI--------------0 
  REC-DELETED------------0     SPLITS-CA--------------0 
  REC-INSERTED-----------0     FREESPACE-%CI---------50 
  REC-UPDATED------------0     FREESPACE-%CA---------10 
  REC-RETRIEVED----------0     FREESPC------------86016 
ALLOCATION                                               
  SPACE-TYPE------CYLINDER     HI-A-RBA----------737280 
  SPACE-PRI--------------1     HI-U-RBA----------737280 
  SPACE-SEC--------------1                               
BUFSPACE-----------10752     CISIZE--------------4096 
EXCPEXIT----------(NULL)     CI/CA----------------180 
                                                       
INDEXED       NOWRITECHK     NOIMBED       NOREPLICAT 
                                                       
                                                       
EXCPS------------------6                               
EXTENTS----------------1                               
SYSTEM-TIMESTAMP:                                     
     X'C42B906DEAE78206'                               


When we are trying to insert a record (is unique) into FILE1, we are getting CICS return code 14. The record being inserted is unique. Is there any other possible reason for this return code?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue May 12, 2009 5:36 pm
Reply with quote

I'm not aware of any other reason for it. New code or modified code? Both AIX DD names point to their respective paths? If you try a REWRITE after the DUPREC, what do you get?
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top