Re: Macro compound symbols

2012-04-01 Thread Jon Perryman
You didn't set or define variable P1. Message ASMA300E tells you that variable P1 is not set (notice the TESTM/P1) Regards, Jon. From: "Hardee, Chuck" To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Sent: Sun, April 1, 2012 10:07:23 AM Subject: Macro compound symbols Hel

Re: Macro compound symbols

2012-04-01 Thread Jon Perryman
g, D1 fails but D2 works. MACRO JUNK &P1=AAA &P2 SETC 'BBB' &D1 SETC '&(P1)' &D2 SETC '&(P2)' MNOTE 8,'D1=&D1 D2=&D2' MEND junk , Regards, Jon _

Re: curiosity: In AR mode, why doesn't BALR/BASR/BRAS/BRASL set the value of the corresponding AR register ?

2012-04-11 Thread Jon Perryman
It keeps instruction overhead down (e.g. LA is used alot so adding AR copy adds to it's time). Regards, Jon Perryman. From: John McKown To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Sent: Wed, April 11, 2012 2:32:59 AM Subject: Re: curiosity: In AR mode,

Re: &SYSNDX label for variable

2012-04-15 Thread Jon Perryman
&SYSNDX can be used any way you use any other variable. The difference is that it is incremented with every macro call. It gives you a way to create something unique for that specific call to a macro. The typical use is as some sort of branch label within a macro so that multiple uses of the same

Re: Request for MVS wait Module - DB2

2012-04-26 Thread Jon Perryman
yid in the control block 7c. go back to wait or do what you want 8. If transaction ends and stimerx did not pop, then cancel the stimerx. 9. post the ecb in the control block to terminate the attached task. Regards, Jon Perryman. From: D E Engelbrecht To: ASSE

Re: A Curiosity Question

2012-05-19 Thread Jon Perryman
your question. Regards, Jon Perryman. From: "esst...@juno.com" To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Sent: Sat, May 19, 2012 7:53:26 AM Subject: A Curiosity Question I have a PARMLIB Memebr set up as SUBSYS SUBNAME(MYSS) INITRTN(INITRTN1) Now during IP

Re: A Curiosity Question

2012-05-20 Thread Jon Perryman
s the address space as ASN for the PC routine. In that case, master would be connected. I suspect CICS is doing it from their address space. Does anyone know if this method eliminates IEF352I ADDRESS SPACE UNAVAILABLE since master is the owner or will the issuer of ETCON always have this message? Thanks

Re: A Curiosity Question

2012-05-21 Thread Jon Perryman
Is it a requirement to do the ETCON from the same address space as the ETCRE? If not a requirement, then wouldn't the space-switch PC use the ETCON home ASN for the space switch (not master)? Thanks, Jon Perryman. >And you should likely never set up a space-switch PC with the master AS

Re: MVC with 2nd operand length

2012-05-22 Thread Jon Perryman
. If IBM were to implement an MVC:2, then you would never have receiver too short because it should check the length. I personally don't need this instruction because I have a single program that builds messages and formats lines but I can see how others might want it. Regards, Jo

Re: MVC with 2nd operand length

2012-05-23 Thread Jon Perryman
MVCL is an instruction begging for a macro. Besides loading registers and destroying the contents of 4 registers upon completion, it is also interruptible so you have to ensure the move is complete. From: Tony Harminc > You know, for the vast majority of these c

Re: MVC with 2nd operand length

2012-05-24 Thread Jon Perryman
C with 2nd operand length On May 23, 2012, at 22:27, Jon Perryman wrote: > MVCL is an instruction begging for a macro. Besides loading registers and > destroying the contents of 4 registers upon completion, it is also >interruptible > so you have to ensure the move is complete. > Ensurin

Re: MVC with 2nd operand length

2012-05-24 Thread Jon Perryman
LER-LIST@LISTSERV.UGA.EDU] On Behalf Of Jon Perryman > Sent: Thursday, May 24, 2012 10:35 AM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: Re: MVC with 2nd operand length > > Has anyone from IBM endorsed this? POP's doesn't state that the PSW is > decremented

Re: MVC with 2nd operand length

2012-05-26 Thread Jon Perryman
A literal in the literal pool should never be modified and the assembler is enforcing that rule where possible. The problem is that multiple =C'WOMBAT' in your program would only generate a single entry in the literal pool. Can each occurrence handle this modification of the value? The assembler is

Re: MVC with 2nd operand length

2012-05-26 Thread Jon Perryman
I think that John is asking for an example where the existing BIF's do not satisfy your situation and what length would expect it to return. Regards, Jon. From: Paul Gilmartin On May 26, 2012, at 18:28, John Ehrman wrote: Now, I'm truly mystofo > Could you c

Re: MVC with 2nd operand length

2012-05-27 Thread Jon Perryman
There is hidden functionality in this macro. 1. I believe that john said that LA will resolve a label reference in the assembler. I'm not sure of the situations it fixes. 2. Coding the (0) on the LA causes an error message when the destination is a literal or has a length specified. This eliminat

Re: MIPS calculation for a particular Job

2012-06-05 Thread Jon Perryman
'SYS1.SAMPLIB(IEEACTRT)' contains a sample IEFACTRT exit that displays some step/job termination messages which should give you some numbers to do a comparison. Hope it still works. I haven't seen it run in years. Technically it's not mips but it's clear jake meant cpu time. Regards, Jon.

Re: Base registers

2012-06-06 Thread Jon Perryman
Back to program Hope this helps, Jon. .** .* Desc: Execute instruction .* .* Copyright: 2010-2012 Jon Perryman .* .* Function: .* Makes the length relative to 0 and executes the .* specified instruction using the specified length. .*

Re: Some Help with IEAMSCHD

2012-06-23 Thread Jon Perryman
IEAMSCHD and the fields you asked about are documented in z/OS MVS Programming: Authorized Assembler Services Reference EDT-IXG. Regards, Jon Perryman. From: "esst...@juno.com" To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Sent: Sat, June 23, 2012 9:16:21

Re: ** ASMA030E Invalid literal usage - =CL8'MARTINWH'

2012-07-01 Thread Jon Perryman
I don't see LPP in the POP manual. Is it an instruction or a macro? If it's a macro, then maybe there is an option to get around this error message. Jon Perryman. From: Martin Truebner When I compile this LPP =CL8'MARTINWH'

Re: Detect z/OS or VSE at Assembly Time

2012-07-03 Thread Jon Perryman
ould always be there (or you could use OS390) Jon Perryman. From: Patrick Roehl Subject: Detect z/OS or VSE at Assembly Time Is there a reliable method to detect whether an assembly is using the z/OS macro libraries or the VSE macro library? We run our assemb

Re: ASM tag problem

2012-09-12 Thread Jon Perryman
macro table is searched instead of looking in the maclib for the definition. You should open an ETR to see if this is a bug or if it works as designed. Regards, Jon Perryman. From: Robert Ngan To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Sent: Wed, September 12, 2012 2:49:

Re: Immediate value range on [arithmetic] COMPARE and JUMP

2012-09-25 Thread Jon Perryman
4 and allowing 3 operands. . Regards, Jon Perryman. From: Robert Ngan To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Sent: Tue, September 25, 2012 5:38:02 PM Subject: Immediate value range on [arithmetic] COMPARE and JUMP I am playing with the COMPARE AND JUMP instructions t

Re: IHAXMD & IHAIETB

2012-10-14 Thread Jon Perryman
would have use the LTE's (for global too) to find each PC entry. It's easier to use a dump to find the PC numbers.. Regards, Jon Perryman. From: "esst...@juno.com" Im trying to re-create a program I wrote 20 years ago. It displayed all

Re: IEANTCR

2012-10-24 Thread Jon Perryman
e the value. Each address space will have it's own unique value for the same name. Regards, Jon Perryman. From: Scott Ford I have seen several discussions in my 'google' searches on IEANTCR. I need clarification. We have a program that issues a

Re: Weird Metal C problem

2012-10-27 Thread Jon Perryman
--(--code_format_string--+--+--)->< > >'-:--++--+---+-' >'-output-' '-:--+---+--+-+-' >'-input-' '-:--+--+-' >'-clobbers-' > Regards, Jon Perryman. ___

Re: Weird Metal C problem

2012-10-29 Thread Jon Perryman
Good point. Other C compilers accept a single underscore, so I assumed IBM C did too. If it doesn't, then Johnny will need to look for a function or macro that is coded for the _ASM(). Regards, Jon Perryman. From: Edward Jaffe On 10/27/2012 10:01 AM, J

Re: Curosity Question

2012-11-01 Thread Jon Perryman
see the clustering at http://www.ask.com/wiki/Letter_frequency if you scroll down to the graphs. Clustering changes depending upon the situation. E.g. how often a letter occurs in words which is another graph on that web page which you can compare. MVS messages cluster even more. Regards, Jon

Re: Literals outside operands

2012-11-11 Thread Jon Perryman
MEXIT , MEND , JUNK 'John', 'JOHN', 'Jack', 'Jane' If you didn't want to use multiple calls to the macro, then you would use GBLC, use &SYSNDX when you SetC &

Re: Impossible - "generic" macro prototype

2012-11-20 Thread Jon Perryman
x27;&SYSLIST(1)'(1,&EQ-1) &ARG SETC '&SYSLIST(1)'(&EQ+1,K'&SYSLIST(1)-&EQ) 5. AREAD could be used to read statements following the macro. This could be helpful in some situations. Regards, Jon Perryman From: &q

Re: Impossible - "generic" macro prototype

2012-11-20 Thread Jon Perryman
IBM's workaround for not having a macro functions is to declare a global variable and set it. The classic example is IBM's SYSSTATE macro. While this is not the best solution, it does work and it's only an extra line..Maybe a third line if you want to save the value. Even though it's not a good sol

Re: Impossible - "generic" macro prototype

2012-11-20 Thread Jon Perryman
x27;&WORK',BACK &PARMS SETC ' '.'&PARMS'(72,K'&PARMS-71) AGO .LOOP2 .LASTLIN ANOP , AINSERT '&WORK',BACK MEND , If you wanted, you could code your parms outside the parenth

Re: STORAGE OBTAIN with ALET

2013-01-01 Thread Jon Perryman
le in xmem/ar mode. Those who maintain your code will be thankful. Thanks, Jon Perryman. From: Chris Craddock a cross memory server address space, there are circumstances where that program might want to obtain storage in "another" address space - typ

Re: macro coding question

2013-01-05 Thread Jon Perryman
' MEXIT , .FIRSTCALL ANOP , &MAC123AREA SETC '&AREA' .AREAOK ANOP , Regards, Jon Perryman. From: paul schuster How can I enforce the requirement that the AREA=parameter is coded the same in both invocations of the macro?

Re: OPSYN self execution

2013-02-07 Thread Jon Perryman
or DC. Regards, Jon Perryman. From: Bodoh John Robert [Contractor] To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Sent: Thu, February 7, 2013 2:46:23 PM Subject: Re: OPSYN self execution Sorry it has taken so long to get back to this but I haven't had the time. I st

Call macro passing dynamic parm list

2013-03-21 Thread Jon Perryman
n the macro? A list of the variables available on the macro definition would be more useful than the entire arg string. At least the keyword list could be looped thru and reference the values directly. I don't mind having &SYSARGS but I personally just don't see it being used except in

Re: ESTAI & IKJEfT1B 04C

2013-04-06 Thread Jon Perryman
a command processor) and your program would strip it's program name from the command and call IKJEFTSR to issue the original command. As I said before, it won't capture every abend but it will allow the MVS return code to be set where as IKJEFT01 won't give you the return cod

Re: ESTAI & IKJEfT1B 04C

2013-04-07 Thread Jon Perryman
PARMLIB(IKJTSOxx). Jon Perryman. - Original Message From: Walt Farrell On Sun, 7 Apr 2013 15:58:35 -0400, Phil wrote: >Clearly this is another case of RTFM. I missed JSTCB=YES on my ATTACH. >The manual does say 'one and only' jobstep task, but But you _should_ not do t

Re: ESTAI & IKJEfT1B 04C

2013-04-08 Thread Jon Perryman
#x27;s and commands continued to run. As for authorized commands and the parallel TMP, I've never specifically looked at how it works or what get's delayed. Where can I find information about this? Jon Perryman - Original Message > From: Binyamin Dissen > > > TSO also

Re: Baseless problem

2013-04-10 Thread Jon Perryman
27; where first operand is the length register and the second operand is the quoted instruction to be executed. MACRO , * Copyright Jon Perryman 2012 &LABEL #EX &RELATIVE=1 Specify 0 if reg already relative to 0 AIF ('&LABEL' EQ '&

Re: Baseless problem

2013-04-11 Thread Jon Perryman
he problem database? 3. How are IPCS diagnostic exec's affected? 4. Diagnostic documentation, FAQ's, problem database and other online material might have something that is affected. Are there any drawbacks to placing data first in a module? I only see possible drawbacks when it is not f

Re: Baseless problem

2013-04-12 Thread Jon Perryman
Tom is not saying you should change your coding style. You leave the data areas and literals at the end of your source code. You add LOCTR statements into your program to change generated machine code sequence. Jon Perryman - Original Message > From: Scott Ford > This is a mat

Re: Length question

2013-04-12 Thread Jon Perryman
' DC C' 'Stop at blanks ORG C')' DC C')'Stop at close paren ORG , You'll need to create a #TRT macro to allow TRT with a larger s

Re: Length question

2013-04-13 Thread Jon Perryman
It's not ignorance. TRTE is a newer instruction that might not exist on all supported hardware. I don't try to remember instructions I can't use anyways. It's not in the POP's I use so I can't consider it. Jon Perryman.. - Original Message > From: John

Happy Gilmore (was Length question)

2013-04-13 Thread Jon Perryman
agreement and that most people either know the situation or are not interested. I say we let him get his final word in and just let it go at that. Send us your last response and make yourself Happy Gilmore. This Email contains shampoo because regular poo would not do. Thanks, Jon Perryman.

Re: Happy Gilmore (was Length question)

2013-04-14 Thread Jon Perryman
use? Why wouldn't he simply say the TRTE instruction should have been used. He always chooses his wording carefully and hides the malice. Everyone interpreted my Email as a personal attack but did it actually contain anything more direct than in his response? Thanks Jon Perryman. > Fr

Re: Happy Gilmore (was Length question)

2013-04-15 Thread Jon Perryman
rate those with an intent to antagonize or with malice. Jon Perryman. - Original Message > From: DASDBILL2 > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Sent: Mon, April 15, 2013 9:59:40 AM > Subject: Re: Happy Gilmore (was Length question) > > We should not necessari

Re: TRTE and new instructions

2013-04-15 Thread Jon Perryman
TE is not worth the extra work, Jon Perryman - Original Message > From: John Ehrman > > (2) Knowing the properties of the end-user's system means you can ship a > version of the application with a simple reassembly that accounts for the > presence or not of the new instruction.

Re: Translate Table

2013-04-16 Thread Jon Perryman
Assembler codeset translation calls are documented in Unicode Services. Since Scott has mentioned his product is calling assembler routines from an LE environment, I'm guessing it's written in C. If that is the case, ICONV will do the conversions. Jon Perryman. - Origin

Re: Calling SUPERC from an assembler program

2013-04-23 Thread Jon Perryman
Batch calls need 2 byte length followed by parm. LA R1,=A(PARM) LINK EP=ISRSUPC PARM DC AL2(L'PARMDATA) PARMDATA DC C'DELTAL,LINECMP,UPDSEQ0' Jon Perryman. - Original Message > From: Paul Gilmartin > > On 2013-04-23, at 16:02, David Eisenberg wro

Re: Question About storing a Value in a Macro

2013-07-21 Thread Jon Perryman
I agree with John but just want to suggest you add a DS 0A to the beginning of your data area to guarantee the first A(xx) is at the same relative offset to your data area. Jon Perryman On Sun, Jul 21, 2013 at 3:47 PM, esst...@juno.com wrote: > In the Assembly, the macro expands as foll

Re: Question About storing a Value in a Macro

2013-07-22 Thread Jon Perryman
statements (not the macro prototype) to program 2? If so, then convert it on these statements. Nothing to do with the macro prototype or expansion. Alternatively, you could add YTOKEN EQU X'' but it is the same thing just doing it another way.   Jon Perryman.  ___

Re: AT&T list-related warning (was:Test message; ...)

2013-07-25 Thread Jon Perryman
vironment for their Emails that they can easily document.  Jon Perryman From: Russell West > From: Paul Gilmartin > > BTW, did you supply the "Reply-To: Russell West ..." header, or > did AT&T bestow th

Re: Concatanate Bits Instruction?

2013-08-04 Thread Jon Perryman
th to R14 after the move to point to the next field and forget about the SR. Jon Perryman > > From: Robert A. Rosenberg > >At 21:46 -0700 on 08/03/2013, Duffy Nightingale wrote about >Concatanate Bits Instruction?: > >>Hi All, >> >

Re: Concatanate Bits Instruction?

2013-08-06 Thread Jon Perryman
anted bits (could overlay next field) XC1(3,R4),1(R4) Clear unwanted bits (could overlay next field) J NEXT Move next bit string Jon Perryman - Original Message - > From: robin > > Seems unduly and unnecessarily complicated to me. > I&#x

Re: Canadian GAAP?

2013-08-09 Thread Jon Perryman
Very little will be changed on mainframe systems since hard currency transactions are very rare. Electronic transactions can continue using one-cent. They will only be changed if there is a desire. Jon Perryman. > > From: Paul Gilmartin > >

Re: Making an old macro baseless

2013-08-15 Thread Jon Perryman
to using the literal pool, you could put the data inline (use BRAL R2,0 followed by the DC for the data without the "="). Jon Perryman. > > From: John P. Hrtmann > >CMS Pipelines ships the macro #LAL. One would write: > > #LAL 2,

Re: Storage Area Name using CSECT

2013-09-03 Thread Jon Perryman
fill it in. As for understanding the storage area and modules, you would need to understand the programs involved. Source code and assembly listings are usually needed for this. Jon Perryman. > > From: Jake anderson > >I was trying to underst

Re: Storage Area Name using CSECT

2013-09-04 Thread Jon Perryman
the instructions which are looping. There is probably more that could be easily reviewed by sysprogs but it really depends upon the problem symptoms.. Jon Perryman. > > From: Jake anderson > >Apology for my ignorance. Does it apply same for analysing Z/OS Standalone >Dump ? >

Re: C calling assembler

2013-09-11 Thread Jon Perryman
messages, then you need to use the linkage editor output or AMBLIST LISTLOAD for the failing load module in the abend messages. From either listing, you can determine where your C and assembler programs start. Adjust the offset accordingly to get the module offset. Jon Perryman. - Original

Re: Why is division by zero permitted?

2013-10-23 Thread Jon Perryman
What arithmetic expression allows divide by 0? Jon Perryman. > > From: Paul Gilmartin > >OK. Pure HLASM. I've long wondered why division by zero is permitted >in arithmetic expressions when otherwise overflows (even in division) >are rep

Re: Why is division by zero permitted?

2013-10-24 Thread Jon Perryman
Paul Gilmartin said HLASM (not S360). The standard divide instructions get S0C9 when dividing by 0. Is it floating point that allows divide by 0? Is it the macro assembler SETA that allows it? Jon Perryman. - Original Message - > From: Rob van der Heij > > Ask someone

Re: Some Help with Conditional Assembly

2013-11-02 Thread Jon Perryman
ill return a value of F for a fullword definition. You could also use L'&L to determine it has a length of 4 (in case someone coded (A or XL4). If the length is greater than 4095, then you can't use LA. You will need to use another instruction to load the length (e.g.

Re: Some Help with Conditional Assembly

2013-11-02 Thread Jon Perryman
for type A and F to do a load otherwise assume it's an LHI Jon Perryman. > > From: "esst...@juno.com" >To: ASSEMBLER-LIST@LISTSERV.UGA.EDU >Sent: Saturday, November 2, 2013 12:11 PM >Subject: Re: Some Help with Conditional Assembly &

Re: Relative Branches / IBM macros

2013-11-20 Thread Jon Perryman
to ask yourself when we've gone to far in making it easy for newbies to easily shoot themselves in the foot. Jon Perryman. > > From: Bob Raicer > > >Here is an example of what I was trying to describe: > >ABLE    CSECT

Re: Moves and others

2013-11-20 Thread Jon Perryman
CH TRT_TAB DC 256AL1(0) ORG TRT_TAB+C'A'We want to find an "A" DC C'A' ORG , Obviously this is not complete (you need to check lengths and various other things but it will get you started. Jon Perryman. >__

Re: ASSIST Assembler and HLASM

2013-11-20 Thread Jon Perryman
me of the newer instructions even though it's MVS 3.8. Jon Perryman. > > From: Paul Gilmartin >To: ASSEMBLER-LIST@LISTSERV.UGA.EDU >Sent: Wednesday, November 20, 2013 8:03 PM >Subject: Re: ASSIST Assembler and HLASM > > >On 2013-1

Re: Moves and others

2013-11-21 Thread Jon Perryman
xecution of the instruction?  Jon Perryman. > > From: "pw...@mweb.co.za" > > >Second, the sequence used will execute the TRT once for 1 byte, then repeat >the TRT for 6 bytes. The target of an EX instruction must NOT be inline. >

Re: Moves and others

2013-11-21 Thread Jon Perryman
need to add the registers together before doing the move. Use of R10 is simply a way to make the code a little more readable. Jon Perryman > > From: Rich Long > > The displacement is in a register.  >Using MVC R10(L'CPAREN,R6),CPAREN  fail

Re: Base-less programming

2013-12-04 Thread Jon Perryman
limit the base reg to the end of the constants in the program so that you can identify where your program is not correctly using relative offsets. Jon Perryman.  > > From: John McKown > > >Well, I don't _usually_ use the *+. I normally use a

Re: Base-less programming

2013-12-04 Thread Jon Perryman
If you don't want the extra statement then add the label directly to the statement and use it's length. JE*+L'LA1 LA1 LA R1,1(R1) JE LA2+L'LA2 LA2 LA R1,1(R1) Jon Perryman - Original Message - > From: Phil Smith III > >T ony Har

Re: getting length of macro symbol

2014-02-12 Thread Jon Perryman
Your counter doesn't have to start at 0. Start it at 1 and you will always have 5 digits or more. Just drop the first digit. &CNT SETA 1 &DATA SETC '&CNT'(2,*)  Jon Perryman. > > From: Tony Thigpen > > > &g

Re: getting length of macro symbol

2014-02-12 Thread Jon Perryman
f you check the size.  &PADDED  SETC   '000&C'(K'&C,4)      pad left to 4 characters &PADDED  SETC   '&C.000'(1,4)           pad right to 4 characters Jon Perryman. > > From: John Gilmore > > >I do no

Re: HLASM continuation...

2014-02-21 Thread Jon Perryman
4),&TXT) because L'  on macro statements require the variable be defined prior to the SETA statement. When used on an instruction, the variable can be anywhere in your in your code. Jon Perryman. > > From: John Gilmore > > >&txt 

Re: HLASM continuation...

2014-02-22 Thread Jon Perryman
will be successful. Move TEXT before SETA and the SETA will be successful &LEN SETA L'TEXT MVC0(L'TEXT,R1),TEXT TEXT DS CL5 Jon Perryman. > > From: John Gilmore > > >Jon Perryman wrote: > > >Attribu

Re: Rexx substr not retiring string

2014-03-31 Thread Jon Perryman
You forgot the period in the stem name "EXECIO * DISKW OUTDS (FINIS STEM OUTVAR." <<< Alternatively, ISPF edit has a line command to shift data (e.g. ((2 on the first line and (( on the last line to shift). Jon Perryman. > > From: Mi

Re: PTF level in SYSPRINT

2014-04-01 Thread Jon Perryman
list 4 PTF's as the levelset Do you know if they follow the same methodology as ASM? Your group is lucky because they can simply tell us to bring the product current because that's what will happen anyways. This isn't how most products create PTF's. Thanks, Jon Perryman.

Re: ASMA038S

2014-05-11 Thread Jon Perryman
Removing the SSCM DSECT.will stop the error but the correct specifications for these macro's would be       IEFJSSOB (xx,xx,...),CONTIG=NO   Where xx would be the SS extensions you want. In your case, you only want CM. CONTIG=NO will insert DSECT's.  Jon Perryman    On Sund

Re: Program Call Vs SVC

2014-05-20 Thread Jon Perryman
On Tuesday, May 20, 2014 6:25 AM, John Gilmore wrote: > > >Rob Scott's summary of the current situation would be hard to improve upon. > >There are situations in which it is appropriate to maintain and even >perhaps extend existing SVC routines.  They will not disappear anytime >soon, but th

Re: Program Call Vs SVC

2014-05-20 Thread Jon Perryman
may easily have multiple PC's for running multiple version of your product. Jon Perryman On , Jon Perryman wrote: > > > > > >On Tuesday, May 20, 2014 6:25 AM, John Gilmore wrote: > > >> >> >>Rob Scott's summary of the current situation woul

Re: 50 year old assembler code still running.

2017-03-11 Thread Jon Perryman
Actually the assembler doesn't care what value you use as long as you match the LA matches the USING statement. Even then, it won't complain. On Saturday, March 11, 2017 6:17 AM, David Cole wrote: USINGs with multiple registers assume an interval  distance of 4096 not 4095.

Re: Question about CPUs

2017-07-30 Thread Jon Perryman
I believe the only true atomic instructions are CS and CSD. PLO is considered atomic when using the same lock. Concurrency is only guaranteed with some sort of lock which is to expensive to implement for every instruction and for storage being referenced / modified. The odds of a single instru

Re: Any real need for sequence numbers in 73-80 any more?

2017-12-11 Thread Jon Perryman
ISPF edit's compare command has existed for many years and uses SUPERC under the covers. Forget taking source off platform and give it a try. One of the options is number of lines for syncing. If there is a problem with syncing after changed lines, then look at the options. It worked great for c

Re: Address of a Literal

2017-12-11 Thread Jon Perryman
If by "C's less powerful macro language", you actually mean abysmal pre-processor language then I totally agree. C programmers will use motivated reasoning to convince you that C is still the language of choice. The problem is that C hasn't really grown as a language to help programmers (C puris

Re: Any real need for sequence numbers in 73-80 any more?

2017-12-11 Thread Jon Perryman
Sadly, the absolute source line numbers become ambiguous when you add / delete lines. In maintenance mode, this was usually not a problem. In dev mode, it was only occasionally annoying. I personally prefer this area contains the PTF number. When diagnosing problems, it allowed us to easily det

Re: Macro processor

2017-12-14 Thread Jon Perryman
Sorry for taking  so long to respond. A little too busy. >John Ehrman  wrote: I agree that PL/I's macro preprocessor is indeed powerful; >but it and > all other macro facilities I know of lack a key feature of >HLASM's  > conditional assembly and macro facility:   John is being modest by hugely

Re: Macro processor

2017-12-19 Thread Jon Perryman
t being an effective assembler programmer. In all my years, the C code I worked with would have been just as good as the C version because of macro's. If C were to add the HLASM macro features, then I would definitely jump ship from HLASM. Thanks, Jon. On Thursday, December 14, 2017 9

Re: Macro processor

2017-12-21 Thread Jon Perryman
X %s %i %f',var1,var2,var3).  What is it that makes a C programmer say they are more productive (especially when they believe they are effective HLASM programmers)? Thanks, Jon. On Tuesday, December 19, 2017 8:20 PM, Paul Gilmartin <0014e0e4a59b-dmarc-requ...@listserv.uga.edu>

Re: Macro processor

2017-12-21 Thread Jon Perryman
Thanks for pointing out dynalloc in Cobol. A few decades since I actually looked at these languages. In fact, The only LE programming language I've used is C. Do you know if companies allow the use of this feature in production? For those that don't, how do they protect themselves against intent

Re: Macro processor

2017-12-21 Thread Jon Perryman
On Thursday, December 21, 2017 10:47 AM, John McKown wrote: > The programmers that I work with would most likely do a "deer > in the headlights" act if I tried to talk to the about dynamic allocation >in COBOL with them. They're not stupid, but they just do things the tried & > true way.

Dynalloc (was Macro processor)

2017-12-22 Thread Jon Perryman
Charles broke the cardinal rule in security ( never say never ). Viruses rely on dynalloc. This vulnerability was used against Target where they were recently fined $18 million and lost millions in revenues for their data breach.  In MVS, many of the dynalloc exposures don't exist but there are e

Re: Dynalloc (was Macro processor)

2017-12-22 Thread Jon Perryman
.UGA.EDU] On Behalf Of Jon Perryman Charles broke the cardinal rule in security ( never say never ). Viruses rely on dynalloc. 

Re: Dynalloc (was Macro processor)

2017-12-22 Thread Jon Perryman
, December 22, 2017 3:40 PM, Paul Gilmartin <0014e0e4a59b-dmarc-requ...@listserv.uga.edu> wrote: On 2017-12-22, at 14:26:07, Jon Perryman wrote: >The most obvious and least complicated is by employee's. >Put your dataset in >production JCL and it will be caught when added to th

Re: Dynalloc (was Macro processor)

2017-12-23 Thread Jon Perryman
This started as me being surprised that Cobol and PL/I now support Dynalloc because of the security risks. I satisfied that it exists and for whatever reason, it is no longer considered a security exposure. My apologies for allowing this to drag into a discussion about security theory in this gr

Re: AW: Dynalloc (was Macro processor)

2017-12-23 Thread Jon Perryman
I'm not saying that it comes down to dynalloc. Security never comes down to a single exploitation. Think about alcatraz which despite all the extreme security measures still had an escape. I'm sayiing that dynalloc is not controlled by security admins and there are simple scenario's to exploit i

Re: Dynalloc (was Macro processor)

2017-12-23 Thread Jon Perryman
Jaffe wrote: On 12/23/2017 8:18 AM, Jon Perryman wrote: > People are clever and will find ways to abuse things if they are motivated. > Dynalloc can easily be exploited. It's not exploited because no one has been > motivated to exploit it. Security risks are big news in this cen

Re: Dynalloc (was Macro processor)

2017-12-23 Thread Jon Perryman
Fri, 22 Dec 2017 21:26:07 +, Jon Perryman wrote: >Charles broke the cardinal rule in security ( never say never ). Viruses rely >on dynalloc. This vulnerability was used against Target where they >were >recently fined $18 million and lost millions in revenues for their data >br

Re: Dynalloc (was Macro processor)

2017-12-23 Thread Jon Perryman
ets. Most don't use it and it's not publicized. Jon. On Saturday, December 23, 2017 9:41 AM, Jeremy Nicoll wrote: On Sat, 23 Dec 2017, at 16:18, Jon Perryman wrote: > Most security breaches need multiple exploits on MVS. Often, eliminating > a single exploit is enough to to

Re: Dynalloc (was Macro processor)

2017-12-23 Thread Jon Perryman
it's fantastic if true. RACF is different in that the resource owner can generally modify that resource. This is configurable and I don't know what the standard practice is. Jon. On Saturday, December 23, 2017 12:03 PM, Jeremy Nicoll wrote: On Sat, 23 Dec 2017, at 19:42, Jon Perr

Re: Dynalloc (was Macro processor)

2017-12-23 Thread Jon Perryman
o convince me of the existence of any actual vulnerabilities in z/OS itself.Keven On Sat, 23 Dec 2017, at 18:40, Jon Perryman wrote: > I only wanted to know why dynalloc is no longer considered an exposure.

Re: Dynalloc (was Macro processor)

2017-12-24 Thread Jon Perryman
run time from dynamic and appropriately process-controlled input.  I am on an application team who are responsible for one such program. Does that answer your question? Peter -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of

  1   2   3   >