IBM.
Skip to main content
    United States [change]      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     
     
  TPF : Support : Maintenance : TPFDF
SUBJECT:         APAR  NUMBER: PQ61711
 
REFERENCE:  AREA:     TPFDF CENTRAL DATABASE ROUTINES
            SEGMENT:  DFLNK13    - RELEASE:  TPFDF (Macro)
            SEGMENT:  UWAD13     - RELEASE:  TPFDF (Assembler)
            SEGMENT:  UWAU13     - RELEASE:  TPFDF (Assembler)
            SEGMENT:  UWBC13     - RELEASE:  TPFDF (Assembler)
 
 
Pre-requisite APARs are (TPF only) :
FOR SEGMENT DFLNK13    (Macro)     - REL TPFDF
 PQ32210  
FOR SEGMENT UWAD13     (Assembler) - REL TPFDF
 PQ32210  
FOR SEGMENT UWAU13     (Assembler) - REL TPFDF
 PQ32210  PQ48979  
FOR SEGMENT UWBC13     (Assembler) - REL TPFDF
 PQ32210  PQ48582  PQ48551  PQ51339  PQ53452  
To be applied in the order listed for each segment.
 

ABSTRACT OF PROBLEM
___________________
After  applying  APAR  PQ32210,  a DB010E system error may occur
when a DBSRT is performed on an input file which was opened with
the PARAM= option specifying a data level (Dx).

COMMENTS ON PROBLEM
___________________
A file was opened using PARAM=  with  a  data  level  specified.
This  was  followed  by  a DBSRT that used that same file as the
input file.  At the end of DBSRT processing, an  internal  DBCLS
NORELEASE was issued which forced the SW00SR block (specified in
PARAM=Dx)  to  be  switched from the data level used by TPFDF to
the level specified when the file was opened.  After the  DBCLS,
the  SW00SR  block  was  not  switched back to the level used by
TPFDF, which caused the next search  for  the  SW00SR  block  to
fail.    This  might typically occur when a DBCLS is done on the
input file, and the result is a DB010E system error.
 

SOLUTION
________
The code to swap data levels when a user data level is specified
on an open command was moved from segment UWAD to segment  UWBC.
Segment  UWAU  has also been updated to always check if the data
level  should  be  appropriately  swapped  when  the  INPUT=  or
INPUTREF=  parameter  is specified on a DBSRT command.  Finally,
the DFLNK restricted use macro was  updated  to  allow  multiple
DFLNK  SWAP  calls  within a single segment.  By always swapping
the SW00SR block to the appropriate  level,  the  DB010E  system
error will not occur.
 

DEPENDENCIES
____________
 
Related Segments Affected By This APAR.
_______________________________________
 
Segments to be assembled or compiled:
 
Segments to be link edited:
 
Load Modules to be loaded:
 
Migration Considerations
========================
The DATA= parameter should no longer be used by applications; it is
provided only for migration purposes.  The PARAM=AUTO parameter should
be used instead.
 
-- END APAR PQ61711
 
 
 

Click on Link(s) to Download File(s)


Download file(s): Login once to access server, leave window open, then click on link(s) below.
ALCS Package Package Source
 

    About IBM Privacy Contact