Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Delivered
Categories Assembler
Created by Guest
Created on Jan 30, 2017

Better resolve 'ASMA080E Statement is unresolvable'

Please compile the following test program to reproduce the error.
Attempts to use AIALENTH as a duplication factor fail with ASMA080E
while BIALENTH works just fine. The only difference is the use of 'DS
LQ' vs 'DS XL16'.

AIADSECT DSECT ,
AIAVRS DS 0CL512
DS 32LQ
AIALENTH EQU *-AIADSECT

BIADSECT DSECT ,
BIAVRS DS 0CL512
DS 32XL16
BIALENTH EQU *-BIADSECT

TEST CSECT
DC (AIALENTH)X'00'
DC (BIALENTH)X'00'
DC (AIALENTH)X'00'
DC (BIALENTH)X'00'
END

.00000000 16 DC
(AIALENTH)X'00'
.** ASMA080E Statement is unresolvable
.** ASMA435I Record 0 in EDJX2.TESTLQ.J0842548.D000000A.? on volume:
.00000000 0000000000000000 17 DC
(BIALENTH)X'00'
.00000200 18 DC
(AIALENTH)X'00'
.** ASMA080E Statement is unresolvable
.** ASMA435I Record 0 in EDJX2.TESTLQ.J0842548.D000000A.? on volume:
.00000200 0000000000000000 19 DC
(BIALENTH)X'00'

Idea priority Medium
  • Guest
    Reply
    |
    Jul 29, 2022
    We believe this problem should have been fixed (along with several others) by APAR PH40885, which reworked support for quadword and higher alignment. For details, see the APAR page:

    https://www.ibm.com/support/pages/apar/PH40885
  • Guest
    Reply
    |
    Sep 16, 2020

    This RFE is one of a small group which had apparently been set aside incorrectly years ago and subsequently overlooked. We are sorry for the delay.

    This appears to be an obscure bug, so we have logged it as a defect to be investigated, and this RFE is being rejected accordingly.

    Originally, the use of LQ within any section (control or dummy) required the option SECTALGN(16) as otherwise HLASM considered that the section alignment was not strong enough to guarantee the required alignment. This was modified by APAR PK79869 so that quadword alignment was automatically assumed for a DSECT. However, it appears that code to handle the length value has assumed that there is still an unresolved discontinuity at that point during "interlude" processing, which means that the alignment is being fixed up too late to allow the length to be used as a duplication factor.

    The problem can be bypassed by adding alignment before the relevant structure and changing the length expression to refer to the label after the alignment point:

    AIADSECT DSECT ,
    DS 0LQ <-- Added
    AIAVRS DS 0CL512
    DS 32LQ
    AIALENTH EQU *-AIAVRS <-- Changed from AIADSECT

    Jonathan Scott, HLASM