Great link, thanks but my question is, is there a fill character that will pad
the pattern with zeros. I've even tried X'F0', and X'00' as the first
character in the pattern.
from Greg Gray
gregory.g...@irs.gov
2406131660
-Original Message-
From: IBM Mainframe Assembler List
Where did the $ come from?
> -Original Message-
> From: IBM Mainframe Assembler List [mailto:ASSEMBLER-
> l...@listserv.uga.edu] On Behalf Of Steve Thompson
> Sent: Wednesday, November 01, 2017 2:44 PM
> To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
> Subject: Re: edmk instruction
>
> Does the
On 11/01/2017 06:00 PM, Charles Mills wrote:
Charles, forgive me but not only do I agree with you, I think
your two points are worth drawing a lot of attention to.
Pay attention to that fill character and "significance."
^^
EDMK is used when you want a "floating" (just before the first significant
digit) dollar sign or similar. You back up R1 by 1 and that is where your
dollar sign goes.
I think there are ED and EDMK examples in the PoOp, no? Read them carefully.
Read them very carefully. ED and EDMK are powerful
Does the customer really want something like 0$10245670 ?
Because with EDMK and the mask you have specified that is pretty
much how this is going to work (as least the first three looks I
took at this trying to figure out why the edit mask was written
the way it is).
Regards,
Steve
Check out this link for general info about EDMK with examples:
http://csc.columbusstate.edu/woolbright/Instructions/EDMK.pdf
On Wed, Nov 1, 2017 at 4:24 PM, Steve Smith wrote:
> Maybe for you, but not in general.
>
> On Wed, Nov 1, 2017 at 4:05 PM, Pieter Wiid
Maybe for you, but not in general.
On Wed, Nov 1, 2017 at 4:05 PM, Pieter Wiid wrote:
> If you have a x'21' in the edit pattern, you may as well use ED instead of
> EDMK.
>
If you have a x'21' in the edit pattern, you may as well use ED instead of EDMK.
-Original Message-
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On
Behalf Of Sokolsky, Hayim Z.
Sent: 01 November 2017 21:29
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re:
Yes, probably thousands have. "No success" is rather vague.
MVC CL15,x'f0f0202020202020202020202020202020'
EDCL15,PL7
UNPK CL15,PL7 would also accomplish this task, as you're not really
using any of ED's power.
On Wed, Nov 1, 2017 at 3:07 PM, Greg Gray wrote:
> I
Just a try of the top of my head ...
MVC OUTPUT(15),=X'F0202020202020202020202020202120'
EDMK OUTPUT(15),NUMBER
The first character in the output field is the "fill" character. In this case
it's a C'0'. So even though all the x'20' characters prior to the x'21' get
replaced
I have a field PL7 that contains a number (dollar amount) and I have to output
that amount into a CL15 output field. The customer would like for the
remaining characters other than the digits for the amount to be zeros, i.e.,
0012391. I am trying to code a EDMK pattern with no
11 matches
Mail list logo