Skip to: Abstract | Comments | Solution | Migration | Download
APAR NUMBER: PJ31313 PRODUCT: TPF4 FUNCTIONAL AREA: ISO-C SUPPORT SHIPPED IN PUT: 21 ABSTRACT: SINGLE SOURCE PRLGC/EPLGC MIGRATION APAR CONTENTS: FEATURE TYPE STATUS NAME Base Macro Changed macro/prlgc.mac Base Assembler Changed source/rt/base/cxbccd.asm PREREQUISITE APARS: To be applied in order listed. Base Macro Changed macro/prlgc.mac PJ29640(19) PJ30149(19) Base Assembler Changed source/rt/base/cxbccd.asm PJ30323(20) COMMENTS: For single-source code, need to add the AMODE=31, TRACE, and CHECK parameters to the PRLGC macro on TPF 4.1. Need to add AMODE=31 to the PRLGC macro in the ./copyserv/source/csb2nm.asm and ./rt/base/cxbccd.asm segments. Need to correct coding problems in the ./rt/base/cxbccd.asm segments. SOLUTION: Added the AMODE parameter for the PRLGC macro in TPF4.1. This is a mandatory parameter and will not have a default on TPF 4.1 to avoid a conflict with the default on z/TPF. The only valid value is AMODE=31. All single-soure code using PRLGC must code AMODE=31. The default for AMODE in z/TPF will remain 64. Added the TRACE parameter for the PRLGC macro in TPF 4.1. This optional parameter is provided so that the PRLGC macro can be used in a single-source TPF system. Programs that issue the PRLGC macro with the TRACE parameter will assemble in the TPF 4.1 system; the TRACE parameter is checked for YES or NO; however, the parameter is not used. For the z/TPF system, the TRACE parameter specifies if a trace hook is generated in the respective prologs and epilogs for the function trace. (TRACE=YES is the default.) Added the CHECK parameter for the PRLGC macro in TPF 4.1. This optional parameter is provided so that the PRLGC macro can be used in a single-source TPF system. Programs that issue the PRLGC macro with the CHECK parameter will assemble in the TPF 4.1 system; the CHECK parameter is ignored. For the z/TPF system, the CHECK parameter CHECK=macroname specifies an authorization check of the primary supervisor call (SVC) macro for the function being written, where macroname is the name of the SVC macro. In ./copyserv/source/cxb2nm.asm, added the AMODE=31 parameter to the PRLGC statement. This segment is delivered in the APAR tar file. In ./rt/base/cxbccd.asm, added the AMODE=31 parameter to the PRLGC statment, changed code to use the correct register when checking the FACS return code, and corrected the storing of the FARF address on an FIWHC error. DEPENDENCIES SEGMENTS TO BE ASSEMBLED OR COMPILED: None. SEGMENTS TO BE LINK EDITED: cxbc40.exe (Shipped in Tar File) COREQS: None. MIGRATION CONSIDERATIONS: Macro changes: Added the following parameters to the PRLGC macro so that the PRLGC macro can be used for single-source application code: the mandatory AMODE=31 parameter, the optional TRACE parameter, and the optional CHECK parameter. UPDATED INFORMATION UNITS: TPF General Macros z/TPF and z/TPFDF Migration Guide See your IBM representative if you need additional information. DOWNLOAD INSTRUCTIONS: http://www.ibm.com/software/htp/tpf/pages/maint.htm -- END APAR PJ31313
Download file(s): Login once to access server, leave window open, then click on link(s) below. Listing Binary Source
