View previous topic :: View next topic |
Author |
Message |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Mon May 16, 2011 8:39 am Post subject: PL/1, HEXIMAGE function, opposite of |
|
|
Hi all,
HEXIMAGE functions returns a Hex presenation of a storage area.
Is there any function to fill memory with a given hex presentation.
Example: Given is '404040' in a char(6) variable, and i like to move 3 blanks (assuming ebcdic coding) to a storage area.
I cann't find any builtin function as opposite to heximage builtin function.
regards,
bauer |
|
Back to top |
|
 |
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Wed May 18, 2011 1:50 pm Post subject: |
|
|
I don't "do" pl/i, but is there some reason a literal or a variable cannot be used? _________________ All the best,
di |
|
Back to top |
|
 |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Wed May 18, 2011 2:23 pm Post subject: |
|
|
Yes, there is a reason.
I have input format '40404512E4' and I have to move this hex values to a storage area. |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Sat May 21, 2011 3:23 pm Post subject: |
|
|
where x is whatever x'45' is, y is whatever x'12' is and z is whatever x'e4' is. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
|
|