Skip to main content

TPF : Support : Maintenance

Skip to: Abstract | Comments | Solution | Migration | Download

APAR NUMBER:  PJ31020
PRODUCT:  z/TPF
FUNCTIONAL AREA:  TAPE API SUPPORT
SHIPPED IN PUT:  2


ABSTRACT:
Incorrect code may be generated when a TOURC, TPRDC or TWRTC tape macro
is used with a label or a label is specified for the DECB address.

PACKAGE CONTENTS:
Source Segments:
(C) base/macro/tourc.mac
(C) base/macro/tprdc.mac
(C) base/macro/twrtc.mac

Object Only Binaries:
None.

Configuration Independent Binaries:
None.

Support Files:
None.

OTHER BINARIES TO BUILD:
None.

PREREQUISITE APARS IN APPLICATION ORDER:



COMMENTS:
If the macro was issued with a label, and the tape name was specified
in a register, this would result in the label being generated twice.
Additionally using the DECB option might cause the label to be created
in the wrong place. Lastly, specifying a label for the location of a
DECB will cause a LGHI being generated, instead of a LA.


SOLUTION:
The macros TPRDC, TOURC and TWRTC macros were changed to check if a
label was specified after all error checking was completed. If a label
was specified a 'DS' statement is generated to create tha label before
any of the generated code. Also the LGHI instruction was changed to a
LA instruction.

COREQS:
None.


MIGRATION CONSIDERATIONS:
None.

BUILD COMMANDS AND INSTRUCTIONS:
None.

UPDATED INFORMATION UNITS:
None.

See your IBM representative if you need additional information.


DOWNLOAD INSTRUCTIONS:
http://www.ibm.com/software/htp/tpf/pages/maint.htm

APAR URL:
http://www.ibm.com/software/htp/tpf/ztpfmaint/put2/PJ31020.htm

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

Login once to access server, leave window open, then click on link(s) below. APAR Package