The CIJ  works for IF / ENDIF, as well as
STRTSRCH/EXITIF/ORELSE/ENDLOOP/ENDSRCH, but NOT for DOEXIT

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]]
On Behalf Of Jonathan Scott
Sent: Friday, 07 June 2024 15:23
To: [email protected]
Subject: Re: Toolkit support for compare and jump?

Pieter Wiid writes:
> Found a bug in this implementation:
> ...  1686          DOEXIT CIJ,R15,NE,0
> ...  1696+         CIJ   R15,0
> ** ASMA175S Delimiter error, expected comma -

This example appears to be simply due to using an old level of the HLASM
Toolkit Structured Programming Macro macro library which does not include
the Compare-and-Branch support.

However, the example included with the case does show a problem when DOEXIT
specifies a compare-and-branch instruction followed by a logical OR
condition, which is that an undefined label is used for the branch.

> I raised case TS016361097, but IBM are being obstructive on entitlement.

Unlike HLASM, which is included as standard with z/OS, the HLASM Toolkit,
which includes the Structured Programming Macros and ASMIDF, is an optional
priced feature, which must be licensed separately.  So an appropriate
license needs to be located.

Personally, I've always felt that we should encourage customers to report
bugs and also that there should be no charge to report a problem if you do
not actually need a fix.  I would even like some way to reward customers who
provide helpful information about problems.  However, that's not how IBM
works.

In this case, the team are now aware of the problem, and are quite likely to
look into fixing it anyway, but it is always easier for us to prioritise
work on a fix if it is associated with a valid customer case.

Jonathan Scott, HLASM
IBM Hursley, UK


-- 
This email has been checked for viruses by Avast antivirus software.
www.avast.com

Reply via email to