Re: Structured Programming Macros

2021-06-19 Thread FancyDancer
Thank you! I have not seen this document before. The macro package that Sam Golob refers to is an earlier version of this new macro package. The CBT tape version worked well within some constraints but is was possible to invoke the IF macro in such a way that it would produce incorrect output wi

Re: Structured Programming Macros

2021-06-19 Thread Paul Gilmartin
On 2021-06-19, at 09:23:45, FancyDancer wrote: > > If you don't have access to IBM's HLASM ToolKit Structured Programming > Macros, or if you have the requirement for more complex logic with an IF > macro, then this small, FREE package might well be the answer. Its IF mac

Structured Programming Macros

2021-06-19 Thread FancyDancer
If you don't have access to IBM's HLASM ToolKit Structured Programming Macros, or if you have the requirement for more complex logic with an IF macro, then this small, FREE package might well be the answer. Its IF macro is easy to learn and is very powerful. The package has bee

Re: Structured Programming Macros

2016-05-18 Thread Farley, Peter x23353
.UGA.EDU Subject: Re: Structured Programming Macros PL/j was originally a three-pronged approach, which I believe makes it unique: * An XEDIT macro to format code with indents and also to uppercase the parts of an instruction that must be uppercase with HASM. * The macro library * A listing pos

Re: Structured Programming Macros

2016-05-18 Thread John P. Hartmann
PL/j was originally a three-pronged approach, which I believe makes it unique: * An XEDIT macro to format code with indents and also to uppercase the parts of an instruction that must be uppercase with HASM. * The macro library * A listing post processor for HASM listings that shows a sel

Re: Structured Programming Macros

2016-05-18 Thread Steve Hobson
Rob van der Heij wrote: >Unlike the SPM from HLASM Toolkit, things like IF / THEN / ELSE and >some expect the condition code to be produced by normal instructions, >so the argument for IF is a condition code. FYI you can do that with the HLASM SPMs, like: IF (H) THENspecifies mask mne

Re: Structured Programming Macros

2016-05-18 Thread Rob van der Heij
I had the pleasure of doing a lot of work with the Structured Programming macros that we have for CMS Pipelines. Unlike the SPM from HLASM Toolkit, things like IF / THEN / ELSE and some expect the condition code to be produced by normal instructions, so the argument for IF is a condition code. I

Re: Structured Programming Macros

2016-05-18 Thread Bernd Oppolzer
Am 18.05.2016 um 13:15 schrieb Steve Hobson: >From Bernd Oppolzer: If you specify this global "baseless" parameter (specified at the startup macro and controlling all SP macros and the lightweight CALL and PROC macros), there is only one base register which covers the area after ENDPROC, allowi

Re: Structured Programming Macros

2016-05-18 Thread Steve Hobson
>From Bernd Oppolzer: >If you specify this global "baseless" parameter (specified at the >startup macro and controlling >all SP macros and the lightweight CALL and PROC macros), there is >only one base register >which covers the area after ENDPROC, allowing for up to 4 k of local >static variab

Re: Structured Programming Macros

2016-05-17 Thread Ed Jaffe
On 5/17/2016 11:11 AM, Bernd Oppolzer wrote: ... there is only one base register which covers the area after ENDPROC, allowing for up to 4 k of local static variables Assuming your programs use 20-bit displacements like ours do, then you're really talking about 4K for areas that must be acces

Re: Structured Programming Macros

2016-05-17 Thread Bernd Oppolzer
rogram intact, but J is not (see: "Goto Statement considered harmful"). The use of the SP macros should lead to programs that get rid of all branches. Kind regards Bernd Am 17.05.2016 um 19:43 schrieb Swarbrick, Frank: This is exactly true. That being said, I don't know how s

Re: Structured Programming Macros

2016-05-17 Thread Swarbrick, Frank
RV.UGA.EDU Subject: Re: Structured Programming Macros This is exactly true. That being said, I don't know how structured programming macros can be used for 100% of your code if you want to also use the minimum number of instructions possible. These two things appear to be in conflict. For exam

Re: Structured Programming Macros

2016-05-17 Thread Swarbrick, Frank
al Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of mar...@pi-sysprog.de Sent: Friday, May 13, 2016 1:25 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Structured Programming Macros Frank, you could extent your question to cover LOAD ON CONDITI

Re: Structured Programming Macros

2016-05-17 Thread Swarbrick, Frank
This is exactly true. That being said, I don't know how structured programming macros can be used for 100% of your code if you want to also use the minimum number of instructions possible. These two things appear to be in conflict. For example, I did this simple code: IF (TM

Re: Structured Programming Macros

2016-05-13 Thread Willy Jensen
Maybe for consistency ? I've been using structured macro for a long time and I don't think that you'll ever get rid of 'old style' code. But it still easier to read if as much as possible is using IFs and DOs. At least I find it so.

Re: Structured Programming Macros

2016-05-13 Thread Tony Harminc
On 13 May 2016 at 03:25, wrote: > you could extent your question to cover LOAD ON CONDITION... > then the generated code would look like this: > > CLI R9,UEPPLIPLI PROG? > LOC R8,0(R8),8 YES - FOLLOW POINTER > MVC PCB,0(R8)

Re: Structured Programming Macros

2016-05-13 Thread Martin
Pieter, >> I would use "LOCE me too - but for the clarity of the coding sample (and for whoever ever implements this in the SPM macros) i used the original form. -- Martin Pi_cap_CPU - all you ever need around MWLC/SCRT/CMT in z/VSE more at http://www.picapcpu.de

Re: Structured Programming Macros

2016-05-13 Thread Pieter Wiid
ject: Re: Structured Programming Macros Frank, you could extent your question to cover LOAD ON CONDITION... then the generated code would look like this: CLI R9,UEPPLIPLI PROG? LOC R8,0(R8),8 YES - FOLLOW POINTER MVC PCB,0(R8)

Re: Structured Programming Macros

2016-05-13 Thread Martin
Frank, you could extent your question to cover LOAD ON CONDITION... then the generated code would look like this: CLI R9,UEPPLIPLI PROG? LOC R8,0(R8),8 YES - FOLLOW POINTER MVC PCB,0(R8)MOVE PCB TO MESSAGE Does not ne

Re: Structured Programming Macros

2016-05-12 Thread Swarbrick, Frank
Just a general question about this functionality. Can these be used with “compare and branch [relative]) type instructions. For example, a program I’m working on now has the following: CLIJNE R9,UEPPLI,MVPCB PLI PROG? L R8,0(R8) YES - FOLLOW

Re: Structured Programming Macros

2016-05-12 Thread Farley, Peter x23353
Thanks, I have registered my vote there. -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Rob Van der Heij Sent: Thursday, May 12, 2016 2:07 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Structured Programming Macros

Re: Structured Programming Macros

2016-05-12 Thread John Ehrman
Rob Van der Heij noted: >> Is the request you mentioned a SHARE requirement or an IBM RFE? In any >> case, can you point us where to vote on that request? >John referred to this RFE, I think The original posting was by Sharuff Morsa in Hursley, which gave this link and request: http://www.ibm

Re: Structured Programming Macros

2016-05-12 Thread Rob Van der Heij
> Thanks, having had the privilege of developing code under VM/CMS in the > past I do have knowledge of the MACLIB format and would be comfortable > writing the needed Rexx to convert the libraries should I need them. > > Working them into the official development environment for approved use is >

Re: Structured Programming Macros

2016-05-12 Thread Farley, Peter x23353
: Thursday, May 12, 2016 12:34 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Structured Programming Macros Ah so. You might find the macro libraries on the pipelines home page. You'll need a VM friend to convert them to IEBUPDTE format. Or you could write a piece of REXX to convert i

Re: Structured Programming Macros

2016-05-12 Thread Dougie Lawson
sad to say. >> >> Peter >> >> -Original Message- >> From: IBM Mainframe Assembler List [mailto: >> ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of John P. Hartmann >> Sent: Thursday, May 12, 2016 11:21 AM >> To: ASSEMBLER-LIST@LISTSERV.UGA.EDU >&g

Re: Structured Programming Macros

2016-05-12 Thread Paul Gilmartin
uff Morsa wrote: >> Hi >> We've just received an RFE asking for us to support parenthetical grouping >> of logical conditions via parentheses in our Structured Programming Macros. >> http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=88038 >> Pl

Re: Structured Programming Macros

2016-05-12 Thread John P. Hartmann
:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of John P. Hartmann Sent: Thursday, May 12, 2016 12:05 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Structured Programming Macros Excuse me, Peter. Did you say that you don't have z/VM or z/OS, but you do have HLASM and its toolkit? The mind boggles. On

Re: Structured Programming Macros

2016-05-12 Thread Farley, Peter x23353
ginal Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of John P. Hartmann Sent: Thursday, May 12, 2016 12:05 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Structured Programming Macros Excuse me, Peter. Did you say that you don't have

Re: Structured Programming Macros

2016-05-12 Thread John P. Hartmann
RV.UGA.EDU Subject: Re: Structured Programming Macros CMS already has a set of (different) macros in FPLGPI/FPLOM MACLIBs. http://vm.marist.edu/~pipeline/asmhll.pdf On 05/12/2016 05:12 PM, Sharuff Morsa wrote: Hi We've just received an RFE asking for us to support parenthetical grou

Re: Structured Programming Macros

2016-05-12 Thread Farley, Peter x23353
-LIST@LISTSERV.UGA.EDU] On Behalf Of John P. Hartmann Sent: Thursday, May 12, 2016 11:21 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Structured Programming Macros CMS already has a set of (different) macros in FPLGPI/FPLOM MACLIBs. http://vm.marist.edu/~pipeline/asmhll.pdf On 05/12/2016

Re: Structured Programming Macros

2016-05-12 Thread John P. Hartmann
tured Programming Macros. http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=88038 Please read the RFE and let us know your views Thanks - Sharuff Sharuff Morsa IBM Hursley Labs Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with numb

Structured Programming Macros

2016-05-12 Thread Sharuff Morsa
Hi We've just received an RFE asking for us to support parenthetical grouping of logical conditions via parentheses in our Structured Programming Macros. http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=88038 Please read the RFE and let us know your views Thanks

Re: Debugger and Structured Programming Macros

2013-01-22 Thread Edward Jaffe
On 1/22/2013 7:06 AM, Bodoh John Robert wrote: We use the IBM debugger program to unit test assembler programs. We also use the structured programming macros. When viewing the source code in the debugger, all of the internal macros used by the structured macros also are displayed. This