A fix is available
APAR status
Closed as program error.
Error description
MSGASMA140W ** WARNING ** END record missing can be issued when not expected due to input records getting "lost" after having been read by Assembler Lookahead. This problem only occurs when lookahead finds "errors". An example is lookahead diagnosing an error on statements that are later AREAD (and so not technically in error). Another example is lookahead diagnosing an real coding error and then one or more records from the lookahead scan later going missing. This problem can have different symptoms (generally statements can disappear such as the END statement) and this can result in several side-effects such as multiple error messages where normally none or only one or two might be expected.
Local fix
APAR PN77424 will sometimes circumvent this problem by stopping lookahead from being invoked in some cases where it is not really needed. Other circumventions are: Use HLASM R1 if available, or, rearrange code to avoid lookahead of statements that would cause errors to be diagnosed in lookahead processing. For example statements that are AREAD by a macro that appear to be invalid or duplicate sequence symbols to the lookahead process.
Problem summary
**************************************************************** * USERS AFFECTED: High Level Assembler programs causing * * lookahead processing. * **************************************************************** * PROBLEM DESCRIPTION: MSGASMA140 is erroneously produced and * * the assembler stops processing the * * input records. * * MSGASMA007 is produced twice for the * * same error. The first occurrence is * * before the statement in error. The * * occurrence that follows the statement * * in error fails to display the duplicate * * sequence symbol. * **************************************************************** * RECOMMENDATION: Apply the PTF provided. * **************************************************************** MSGASMA007 is produced during lookahead processing and the message is stored on the lookahead file incorrectly. This results in a premature end to processing on the lookahead file and MSGASMA007 occurring twice in the listing. When messages are processed from the lookahead file no parameters are inserted in the message.
Problem conclusion
Module ASMA1J has been changed to suppress MSGASMA007 during lookahead processing. Module ASMA11 has been changed to ensure the lookahead file current pointer is correct after an error message has been stored. It has also been changed to insert the value of the duplicate sequence symbol into the MSGASMA007 when it is produced from the lookahead file.
Temporary fix
********* * HIPER * *********
Comments
APAR Information
APAR number
PN77616
Reported component name
HLASM MVS, VM &
Reported component ID
569623400
Reported release
120
Status
CLOSED PER
PE
NoPE
HIPER
YesHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
1995-11-01
Closed date
1995-11-23
Last modified date
1996-04-14
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ASMA1J ASMA11 ASMA9Z
Fix information
Fixed component name
HLASM MVS, VM &
Fixed component ID
569623400
Applicable component levels
R120 PSY UN84724
UP95/12/13 P F512
R189 PSY UN84723
UP95/12/12 P E212
R320 PSY UN84722
UP95/12/14 P 9512
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"120","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSENW6","label":"High Level Assembler and Toolkit Feature"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"120","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
14 April 1996