Re: Strange macro expansion error

2021-11-15 Thread Jonathan Scott
Ref: Your note of Mon, 15 Nov 2021 10:28:38 -0500 > AIF (T'' NE 'N').LOPORTOK The quote after shouldn't be there; it causes a syntax error when parsing. Jonathan Scott, HLASM IBM Hursley, UK

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Seymour J Metz
There are a lot of things that can be done in DCF/BM/BM BUILD that cannot be done in CSS. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Assembler List [ASSEMBLER-LIST@LISTSERV.UGA.EDU] on behalf of Ian Worthington

Strange macro expansion error

2021-11-15 Thread Tony Thigpen
I have a macro that works right when the the following code is actually 'executed': SETC '' AIF ('' EQ '0').LOPORTOK AIF (T'' NE 'N').LOPORTOK SETC '=AL2()' .LOPORTOK ANOP But, when that code section is bypassed using: AIF ('' EQ 'DSECT').ACT_DSECT because

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Ian Worthington
Have you considered running a zPDT system, or getting a cloud system just for that?  That's got to be cheaper than sysplex licensing, surely?  > IBM has a free BookMaster to HTML converter, which in theory could be used to >convert our system BookMaster documentation to HTML, but in practice it

Re: Curious compiler optimization

2021-11-15 Thread Seymour J Metz
I don't know of any compiler that generates deliberately poor code. I know of lots of compilers that inadvertently generate poor code. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Assembler List

Re: Curious compiler optimization

2021-11-15 Thread Seymour J Metz
Yes, but a compiler is not a program to solve the halting problem: it's primary purpose is to generate object code that performs the algorithm described by the source code. Even if the compiler can detect whether certain programs terminate, it still must also generate correct code. If it

Re: Strange macro expansion error

2021-11-15 Thread Keven Hall
Maybe it’s the extra apostrophe on the $T attribute comparison? Keven > On Nov 15, 2021, at 09:28, Tony Thigpen wrote: > > I have a macro that works right when the the following code is actually > 'executed': > > SETC '' > AIF ('' EQ '0').LOPORTOK > AIF (T'' NE

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Ian Worthington
I loved bookmaster back in the day (though the script underpinnings, not so much), never really found an adequate tool to replace it.  Tried lyx for a bit and was finally persuaded to use latex, but it's still not as productive as bm was. Anyone know what IBM uses these days? Best wishes, Ian 

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Paul Gilmartin
On Nov 15, 2021, at 08:38:32, Ian Worthington wrote: > > I loved bookmaster back in the day (though the script underpinnings, not so > much), never really found an adequate tool to replace it. Tried lyx for a > bit and was finally persuaded to use latex, but it's still not as productive > as

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Ian Worthington
Thanks, Paul. XSL-FO, or something very similar, then, by the look of it? I had a brief liaison with the XML-based tDocBook some years ago which initially looked promising and then proved to be more effort than I really wanted in a bookie replacement.  Best wishes, Ian ... On Monday,

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Seymour J Metz
Well, the Script plumbing allowed you to write a document that you could format differently for different contexts and audiences. I found it a great time saver. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Assembler List

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Schmitt, Michael
I miss BookMaster too, because all of my system documentation is written in it, and we can't format documentation updates anymore. (The problem is that the sysplex licensing for SCRIPT/VS is prohibitively expensive. No SCRIPT means no BookMaster.) I also have a system that creates both printed

Re: Curious compiler optimization

2021-11-15 Thread Martin Ward
On 15/11/2021 17:38, Seymour J Metz wrote: A non-terminating program can do useful work as it is running, and replacing it with a single instruction loop would not be a correct compilation. A non-terminating and non-interacting program is what the Halting Problem aims to detect. --

Re: Strange macro expansion error

2021-11-15 Thread Tony Thigpen
Thanks. It's strange that it let me get by with it under some cases, but I am using an old assembler under VM: (PTF UK31916) Page1 HLASM R5.0 2021/11/15 10.38 (I don't have any control over the assembler level at the site.) Tony Thigpen Jonathan Scott wrote on 11/15/21 10:29 AM:

Re: Curious compiler optimization

2021-11-15 Thread Seymour J Metz
A non-terminating program can do useful work as it is running, and replacing it with a single instruction loop would not be a correct compilation. A programmer could choose a lower level of optimization for reasons other than compile time, e.g., for debugging. -- Shmuel (Seymour J.) Metz

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Farley, Peter x23353
No need for a resource link id - Thanks to Jim Elliot (retired IBMer) most PoOP manuals can be retrieved by starting here: https://jlelliotton.blogspot.com/p/cmos-processor-table.html HTH Peter -Original Message- From: IBM Mainframe Assembler List On Behalf Of Laddie Hanus Sent:

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Laddie Hanus
How does one get a resource link id? I contracting at a larger software house (not an employee, try to get a full time position in your early 60’s). I’m there because I have done assembler for 40 years. Guess I’ll have to stay at the z14 level for a while Laddie Hanus Sent from whatever

Re: Curious compiler optimization

2021-11-15 Thread Robin Vowels
From: IBM Mainframe Assembler List [ASSEMBLER-LIST@LISTSERV.UGA.EDU] on behalf of Phil Smith III [li...@akphs.com] Sent: Saturday, November 13, 2021 11:10 AM Subject: Re: Curious compiler optimization Unoptimised code typically has redundant instructions. For example, a store instruction to

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Seymour J Metz
Back when IBM used BookMaster and BookManager BUILD (MVS or VM), it was trivial to write a manual that could be printed for different envirenments with message ids, etc., automatically tailored for the selected environment. I wish that they hadn't switched to WYSIAYG. -- Shmuel (Seymour J.)

Re: z/Architecture Principles of Operation pdf

2021-11-15 Thread Jonathan Scott
Ref: Your note of Sun, 14 Nov 2021 16:02:43 -0700 gil writes: > Even less sensible is that SuperC comes with either ISPF or HLASM TK > with separate manuals. The M differ largely in messages prefixes > and degree of obsolescence. When I suggested in these lists that > SuperC be made a single