On Fri, 7 Jan 2022 15:29:55 -0500, Dave Clark wrote:
>There is no VPKZ instruction in my manual. Something new?
New on the z14, I believe.
You can get the Principles of Operation that corresponds to the z15 at
https://publibfp.dhe.ibm.com/epubs/pdf/a227832c.pdf
And the reference
On 2022-01-08 07:25, Steve Smith wrote:
Well, I'm not familiar with the VPKZ, and if not available, or
traditionally, you must code two PACKs for pieces of zoned fields
longer
than 16 bytes.
If you use two PACK instructions, it helps to PACK the upper
bytes first.
Same applies conversely
Also remember that COBOL, like any compiled or interpreted language, can
define fields and operations on those fields that require an assembler
subroutine to implement. I also understand that more recent versions of
the IBM z/OS COBOL compiler use decimal floating point to implement
decimal
ct: Re: Convert Zoned to Packed
"IBM Mainframe Assembler List" wrote on
01/07/2022 03:21:30 PM:
> ITYM more than 15 digits.
No, the manual specifically refers to "the 16-byte second-operand
limit of PACK." Since there is no separate sign in this case, those 16
byte
.) Metz
http://mason.gmu.edu/~smetz3
From: IBM Mainframe Assembler List [ASSEMBLER-LIST@LISTSERV.UGA.EDU] on behalf
of Dave Clark [dlcl...@winsupplyinc.com]
Sent: Friday, January 7, 2022 3:29 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Convert Zoned
"IBM Mainframe Assembler List" wrote on
01/07/2022 03:21:30 PM:
> ITYM more than 15 digits.
No, the manual specifically refers to "the 16-byte second-operand
limit of PACK." Since there is no separate sign in this case, those 16
bytes are 16 digits with possible sign overpunch on
Well, I'm not familiar with the VPKZ, and if not available, or
traditionally, you must code two PACKs for pieces of zoned fields longer
than 16 bytes. Same applies conversely for UNPK, although ED can do it
(and much more) in one pass.
The maximum lengths for SS instructions with two lengths is
]
Sent: Friday, January 7, 2022 2:34 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Convert Zoned to Packed
If it is possible, how do you code in assembler to convert more
than 16 digits of zoned data into a packed field? I'm presuming, of
course, that a packed field can be longer than 8
"IBM Mainframe Assembler List" wrote on
01/07/2022 02:34:49 PM:
> If it is possible, how do you code in assembler to convert more
> than 16 digits of zoned data into a packed field? I'm presuming, of
> course, that a packed field can be longer than 8 bytes in assembler. VSE
> COBOL
If it is possible, how do you code in assembler to convert more
than 16 digits of zoned data into a packed field? I'm presuming, of
course, that a packed field can be longer than 8 bytes in assembler. VSE
COBOL can handle 18 digits, correct? So, that would be a 10-byte packed
field.
10 matches
Mail list logo