Incorrect processing of import table with multiple accesses in the same OSB transaction.

Incorrect processing of import table with multiple accesses in the same OSB transaction.

book

Article ID: KB0090235

calendar_today

Updated On:

Products Versions
TIBCO Object Service Broker for z/OS -
Not Applicable -

Description

Description:
Description:
============
When multiple GET/FORALL statements are used in a single OSB transaction there is a possibility that incorrect results will be produced.

Environment:
============
o All z/OS levels of OSB and z/OS with SAM_USE_ZHPF(YES) in member IGDSMSxx or defaulted.

Symptoms:
=========
When issuing multiple GET or FORALL statements on an import table incorrect results may be obtained on the second and subsequent requests.

Cause:
======
When a sequential import file is read multiple time in the same OSB transaction a CLOSE with REREAD and TYPE=T, also known as a TCLOSE, is issued to reset back to the beginning of the file between each set of accesses.  This is much more efficient than issuing a CLOSE followed by an OPEN. A bug in the TCLOSE logic when used with zHPF causes the TCLOSE not to work and repositioning to the start of the file is not done correctly although a return code of zero is returned.

Resolution:
===========
Contact IBM and request the PTFs for the following APARs and apply them.

OA40982: INCORRECT RECORD READ AFTER TCLOSE REREAD WITH A NON-EXTENDED FORMAT USING ZHPF
OA40637: INCORROUT POSSIBLE WRONG BLOCK BSAM AFTER EOD-> TCLOSE POINT TO TAPE BLOCK1--&gtREAD--&gtCHECK.
Symptoms:

Cause:

Issue/Introduction

Incorrect processing of import table with multiple accesses in the same OSB transaction.