On Nov 10, 2012, at 05:53, Rob van der Heij wrote: > I need to code a table of strings. Since there are quite a few > duplicates, it makes sense to add one level of indirection. To compose > the list of pointers, I thought to do it like this and have HLASM > recognize that two strings are the same. > > DC A(=CL32'Johnn') > DC A(=CL32'Dave') > DC A(=CL32'John') > > I could write a macro to place the string in a separate pool, but I > would still have to match against the others... Any suggestions for an > elgant approach? > I believe I discovered/reported lately that literals are not accepted in S-type constants such as "DC S(=CL32'John')". Are they regardless accepted in A-type constants?
Assembler syntax should be more uniform. -- gil
