ERROR: "ASMA036W Reentrant check failed" assembling and linking TPXUSNSF
search cancel

ERROR: "ASMA036W Reentrant check failed" assembling and linking TPXUSNSF

book

Article ID: 54038

calendar_today

Updated On:

Products

TPX - Session Management

Issue/Introduction

TPX exits such as TPXUSNSF need to be assembled and linked as reentrant, however, Using RENT results in ASMA036W errors. 

Explanation: A machine instruction that might store data into a control section or common area when run has been detected.
This message is generated only when re entrant checking is requested by the assembler option RENT or within an RSECT.

Environment

TPX® Session Management for z/OS

Resolution

This is a known limitation with the ASMA90 assembler.

Based on the TPX Programming Guide chapter titled Set Up User Exits, the exit MUST be coded as reentrant programs.
This is done via the UENTER & UEXIT macros which are available to help write the exits. ASMA90 does not check this, since it's done via the UENTER and UEXIT macros.

The assembler ASMA036W warnings can be ignored. The exit will be reenterant.