Re: Linear search vs binary

2013-10-21 Thread Bodoh John Robert [Contractor]
I would use a hash table. It's much faster. John -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@listserv.uga.edu] On Behalf Of Dougie Lawson Sent: Monday, October 21, 2013 7:32 AM To: ASSEMBLER-LIST@listserv.uga.edu Subject: Linear search vs binary If I

Re: TRTE, etc.

2013-04-18 Thread Bodoh John Robert [Contractor]
What loss? This listserv is for both the experienced and inexperienced. The inexperienced participants ask questions so they may learn and one day may be able to impart their knowledge to new inexperienced participants. I have seen in this listserv where inexperienced participants were

Re: Passing SYSLIST to sub-macro.

2013-03-20 Thread Bodoh John Robert [Contractor]
I like the idea of a new symbol; maybe SYSARGS that is a read-only symbol that is the entire argument to a macro including both keyword and positional parameters. It would only have a scope of the current macro. Thus, I could use it as a parameter to an sub-macro being invoked: MACROX

Passing SYSLIST to sub-macro.

2013-03-19 Thread Bodoh John Robert [Contractor]
All, Is there an easy way to pass the entire SYSLIST to an internal macro for processing? I have several high level macros that do almost the same thing. Rather than duplicating the common code in each macro, I would like to use a common internal macro to do the processing. Something like:

Re: Load and Add

2013-02-19 Thread Bodoh John Robert [Contractor]
John, I have been involved in assembler since 1970...although not extensively. It has only been a few years that it is the only language I use. Can you tell me why the POP dos not follow a sequential format such as R1,R2,D3(R3) instead of R1,R3,D2(R2). At least then there would have been no

Re: Load and Add

2013-02-18 Thread Bodoh John Robert [Contractor]
John, According to the picture of the instruction, the second operand is a register. John -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@listserv.uga.edu] On Behalf Of John Ehrman Sent: Monday, February 18, 2013 1:40 PM To: ASSEMBLER-LIST@listserv.uga.edu

Re: Load and Add

2013-02-18 Thread Bodoh John Robert [Contractor]
That's right, the operands are listed after the mnemonic. However, my presumption was the second operand is referring to the operand that is in the second position. It is very confusing to say second refers to the subscript. I can find nowhere in the document where the reference to operands

Re: Load and Add

2013-02-18 Thread Bodoh John Robert [Contractor]
Assembler List [mailto:ASSEMBLER-LIST@listserv.uga.edu] On Behalf Of Edward Jaffe Sent: Monday, February 18, 2013 4:13 PM To: ASSEMBLER-LIST@listserv.uga.edu Subject: Re: Load and Add On 2/18/2013 12:37 PM, Bodoh John Robert [Contractor] wrote: That's right, the operands are listed after the mnemonic

Re: Load and Add

2013-02-18 Thread Bodoh John Robert [Contractor]
a Kleenex. Other people's conventions often seem drĂ´le, but what they really are is different. John Gilmore, Ashland, MA 01721 - USA On 2/18/13, Edward Jaffe edja...@phoenixsoftware.com wrote: On 2/18/2013 12:37 PM, Bodoh John Robert [Contractor] wrote: That's right, the operands are listed

Re: OPSYN self execution

2013-02-08 Thread Bodoh John Robert [Contractor]
(not positive) that DC OPSYN will cause unknown opcode for DC. Regards, Jon Perryman. From: Bodoh John Robert [Contractor] john.robert.bo...@irs.gov To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Sent: Thu, February 7, 2013 2:46:23 PM Subject: Re: OPSYN self execution Sorry it has

Re: OPSYN self execution

2013-02-07 Thread Bodoh John Robert [Contractor]
Sorry it has taken so long to get back to this but I haven't had the time. I still cannot get the code to undefine the DC macro. As you can see, after the RELDEL macro is issued, the DC statement should use the assembler DC instruction but it still invokes the RELDC macro. I don't know what

Re: Detect z/OS or VSE at Assembly Time

2012-07-03 Thread Bodoh John Robert
Why not have your own macro that exists in both z/os and VSE. It would set which MACLIB is being used into a global variable which mainline code or other macros could test. John -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf

Re: Base registers

2012-06-04 Thread Bodoh John Robert
The code we use here at my job usually has very large modules and used several base registers. I have seen the following technique used: MYCSECT CSECT USING *,R15 B BYID ID DCC'module-name' BASESDCA(MYCSECT) DCA(MYCSECT+4096) DC

Re: Base registers

2012-06-02 Thread Bodoh John Robert
Why not: ALFI R11,4096 John -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of robin Sent: Saturday, June 02, 2012 9:12 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Base registers From: Robert A. Rosenberg Sent: Saturday,

Re: OT? Assembler enhancements?

2012-05-16 Thread Bodoh John Robert
My wish list would be one item: O When an assembly error occurs within a macro (syntax or MNOTE), in addition to giving the line number within the macro, also give the line numbers and name in the hierarch of macros issued include the top program. That way, I would be able to go the line in

Re: OT? Assembler enhancements?

2012-05-16 Thread Bodoh John Robert
, 2012 11:07 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: OT? Assembler enhancements? On May 16, 2012, at 08:52, Bodoh John Robert wrote: O When an assembly error occurs within a macro (syntax or MNOTE), in addition to giving the line number within the macro, also give the line numbers

Re: Non-Flexible VSAM macros

2012-03-08 Thread Bodoh John Robert
-Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Binyamin Dissen Sent: Thursday, March 08, 2012 6:53 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Non-Flexible VSAM macros On Thu, 8 Mar 2012 00:05:10 + Bodoh John Robert

Non-Flexible VSAM macros

2012-03-07 Thread Bodoh John Robert
I have been trying to use the VSAM macros to generate and modify an ACB. One of the things I would like to modify is the DDNAME. The DDNAME actually comes into my program as a parameter so I would like to issue a MODCB ACB=...DDNAME=(R3) but I get an error because the DDNAME parameter is not

Re: Non-Flexible VSAM macros

2012-03-07 Thread Bodoh John Robert
Sent: Wednesday, March 07, 2012 5:32 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Non-Flexible VSAM macros On 7 March 2012 16:05, Bodoh John Robert john.robert.bo...@irs.gov wrote: I have been trying to use the VSAM macros to generate and modify an ACB. One of the things I would like

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Bodoh John Robert
A while back in IBM we had rather strict commenting rules...at least compared to what I have seen outside of IBM. First of all, we had two types of comments: A block comment that was not attached to any particular statement and was used as an introductory paragraph to a block of code that

VarIabLe DD names in VSAM.

2012-02-07 Thread Bodoh John Robert
I am writing a subroutine which receives a DDNAME as an argument to use in a dynamically create ACB. I need to put that input DDNAME into an ACB before opening it. I cannot find anyway to specify the DDNAME on GENACB or MODCB that will accept anything other than a name that is a character

Re: ASSEMBLER-LIST Digest - 20 Dec 2011 to 21 Dec 2011 (#2011-208)

2011-12-22 Thread Bodoh John Robert
I do it a little different. I like mixed case for comments and remarks but like uppercase for the actual code. The mixed case comments and remarks are easier to read and the uppercase code is quite distinguishable from the comments and remarks. You might think that is hard to code but it

Re: Assembler pgm to copy a file

2011-12-08 Thread Bodoh John Robert
No save area? GET and PUT need a save area. John -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Lindy Mayfield Sent: Thursday, December 08, 2011 9:21 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Assembler pgm to copy a

Re: Is the PoOP too big? (was Assembler manuals)

2011-08-24 Thread Bodoh John Robert
It's hard for me to believe that trees are intentionally being destroyed so reference manuals can be printed. Have you not heard of Adobe reader or BookManager? These tools make looking up information so much easier and quicker over looking in a printed book that I can't understand why anyone

Re: Is the PoOP too big? (was Assembler manuals)

2011-08-24 Thread Bodoh John Robert
@LISTSERV.UGA.EDU Subject: Re: Is the PoOP too big? (was Assembler manuals) On 8/24/2011 8:54 AM, Bodoh John Robert wrote: It's hard for me to believe that trees are intentionally being destroyed so reference manuals can be printed. Have you not heard of Adobe reader or BookManager? These tools make

Re: hlasm.com announcement

2011-02-15 Thread Bodoh John Robert
Clicking on either link results in unavailable page. -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Abe F. Kornelis Sent: Tuesday, February 15, 2011 12:26 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: hlasm.com announcement

Re: Best (or any) practices to rewrite spaghetti

2011-02-04 Thread Bodoh John Robert
Sorry, REXX SIGNAL does not suck; you just don't know how to use it. It only trashes the current DO...END structure. It works just fine if you code something like: DO Outerloop = 1 to n Call processes_item End Process_item: Signal ... Return Any errors encountered in 'Process_item' will not

TSO User Packages

2011-01-04 Thread Bodoh John Robert
All, This might not be the right forum but I know there are a lot of smart people listening. I would like to create a user function package for REXX that contains some functions I have written in assembler. The problem I am having is getting TSO to load the package. It is named IRXFUSER, the

Re: TSO User Packages

2011-01-04 Thread Bodoh John Robert
... -Original Message- From: IBM Mainframe Assembler List [mailto:assembler-l...@listserv.uga.edu] On Behalf Of Bodoh John Robert Sent: Tuesday, January 04, 2011 3:24 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: TSO User Packages All, This might not be the right forum but I know there are a lot

Re: Macro question -- register pair

2010-12-29 Thread Bodoh John Robert
Mark, I don't bother with any of it. First of all, if the REG is required to be a register specification, why require the parantheses. Second, I would just verify that the REG was specified...that's it. Then, just use it. If the user specified an incorrect specification, the assembler will

Re: Baseless vs Based

2010-12-20 Thread Bodoh John Robert
Ed, Martin, John, Tony, et al, What I am doing is creating macros that are used by any other application. I was hoping to avoid having the user of these macros have to specify the technique needed to address symbols. That sounds clutzy and it nowhere else in the assembler do I have to tell

Re: Baseless vs Based

2010-12-20 Thread Bodoh John Robert
] On Behalf Of Steve Comstock Sent: Monday, December 20, 2010 9:25 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Baseless vs Based On 12/20/2010 7:05 AM, Bodoh John Robert wrote: Ed, Martin, John, Tony, et al, What I am doing is creating macros that are used by any other application. I was hoping

Re: Baseless vs Based

2010-12-20 Thread Bodoh John Robert
register and USING. Otherwise the address can be passed in a register, using the (reg) notation. If the module has not set up a base register and USING for a symbol prior to calling the macro then the module is in error. David Bond On Mon, 20 Dec 2010 11:16:59 -0500, Bodoh John Robert wrote: David

Re: Baseless vs Based

2010-12-20 Thread Bodoh John Robert
Of Edward Jaffe Sent: Monday, December 20, 2010 11:54 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Baseless vs Based On 12/20/2010 6:05 AM, Bodoh John Robert wrote: I am surprised this not considered a hole in the assembler and is not more pervasive than just for me and my simple case. Do