Re: Edit Masks

2022-04-21 Thread Dan Greiner
This thread got me pondering about another peculiarity of EDIT AND MARK – specifically under exactly what cases does GR1 not get updated. I dusted off an old presentation that I had on the two instructions, added some presenter notes (where the meat of the presentation really lives), and

Re: Edit Masks

2022-03-10 Thread Gary Weinhold
Have you considered executing an EXECuted MVC of character zeroes over the edited data?  Or a CLI, MVI loop on the edited data? On 2022-03-10 1:12 p.m., Steve Smith wrote: There's really nothing that can beat trying it out. Moving the Sig Start earlier is usually all you need; except it has

Re: Edit Masks

2022-03-10 Thread Steve Smith
There's really nothing that can beat trying it out. Moving the Sig Start earlier is usually all you need; except it has what I consider to be the perverse effect of starting significance with the following digit. Which makes it impossible to include the first leading zero naturally (because SoS

Re: Edit Masks

2022-03-10 Thread Charles Mills
ubject: Re: Edit Masks "IBM Mainframe Assembler List" wrote on 03/10/2022 12:00:07 PM: > Or move the significance starter earlier, I think. I would need to > look up the details. But if, as in the following case, the significance starter is already the first of the 5

Re: Edit Masks

2022-03-10 Thread Dave Clark
"IBM Mainframe Assembler List" wrote on 03/10/2022 12:00:07 PM: > Or move the significance starter earlier, I think. I would need to > look up the details. But if, as in the following case, the significance starter is already the first of the 5 digits then moving it any earlier would

Re: Edit Masks

2022-03-10 Thread Charles Mills
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Hobart Spitz Sent: Thursday, March 10, 2022 7:01 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Edit Masks That would work. However, unless you're planning to have decimal positions later or chan

Re: Edit Masks

2022-03-10 Thread Binyamin Dissen
On Thu, 10 Mar 2022 09:01:21 -0600 Hobart Spitz wrote: :>That would work. However, unless you're planning to have decimal positions :>later or change between leading zeros and leading blanks, you can drop ED :>and the mask and just use UNPK. Using ED in your case is just making more :>work for

Re: Edit Masks

2022-03-10 Thread Dave Clark
"IBM Mainframe Assembler List" wrote on 03/10/2022 10:01:21 AM: > That would work. However, unless you're planning to have decimal positions > later or change between leading zeros and leading blanks, you can drop ED > and the mask and just use UNPK. Using ED in your case is just making

Re: Edit Masks

2022-03-10 Thread Hobart Spitz
That would work. However, unless you're planning to have decimal positions later or change between leading zeros and leading blanks, you can drop ED and the mask and just use UNPK. Using ED in your case is just making more work for yourself. OREXXMan Q: What do you call the residence of the

Edit Masks

2022-03-10 Thread Dave Clark
If I have a 3-byte packed decimal field (and let's say 0 decimals for simplicity), I might normally go with the following edit mask if I didn't want to retain leading zeros but leave one zero for a value of zero. x'40202020212060' But if I wanted to retain leading zeros, would