ent: Sunday, July 30, 2006 8:04 PM
> To: u2-users@listserver.u2ug.org
> Subject: U2] Reading Binary data from a file...
>
>
> George Gallen wrote:
> > When assigning 1 to System(1017), does that only affect the
> > current process, or all processes running on UV? So, does
George Gallen wrote:
When assigning 1 to System(1017), does that only affect the
current process, or all processes running on UV? So, does
System(1017) get reset when the program terminates? or do I
need to set it back to normal.
The setting is per-process and is reset when the program term
Ray Wurlod wrote:
Prefer UNISEQ and UNICHAR to SEQ and CHAR respectively if there's any
possibility that NLS might be enabled.
BYTEVAL can be misleading; it only reports the value of a single byte, which
may be a lead or trailing byte of a multi-byte character.
Wouldn't the raw bytes be exactly
to:[EMAIL PROTECTED] Behalf Of Craig Bennett
> Sent: Thursday, July 27, 2006 7:23 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: SpamSlayer Alert: [U2] Reading Binary data from a file...
>
>
> George it does require ASSIGN 1 TO SYSTEM(1017) or UV will
> convert any
> CHAR(
Prefer UNISEQ and UNICHAR to SEQ and CHAR respectively if there's any
possibility that NLS might be enabled.
BYTEVAL can be misleading; it only reports the value of a single byte, which
may be a lead or trailing byte of a multi-byte character.
---
u2-users mailing list
u2-users@listserver.u2u
ok. Thanks.
George
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Craig Bennett
> Sent: Thursday, July 27, 2006 7:23 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: SpamSlayer Alert: [U2] Reading Binary data from a file...
>
L PROTECTED] Behalf Of Craig Bennett
> Sent: Thursday, July 27, 2006 7:21 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] Reading Binary data from a file...
>
>
> George,
>
> use OPENSEQ and READBLK to read the raw data without
> conversion then use
> BY
f George Gallen
Sent: Thursday, July 27, 2006 2:16 PM
To: u2-users@listserver.u2ug.org
Subject: SpamSlayer Alert: [U2] Reading Binary data from a file...
I want to write a little routine that will display the ascii
codes of a binary
file.
(aside from running it through base64 first...)
Is there a
George,
use OPENSEQ and READBLK to read the raw data without conversion then use
BYTEVAL (not SEQ as this may be affected by NLS) to
determine the ASCII character/byte value.
Alternatively if you have memory to spare:
OPEN "TYPE19FILE" TO FT ELSE STOP
ASSIGN 1 TO SYSTEM(1017) ;* Disable UV au
g
> Subject: Re: [U2] Reading Binary data from a file...
>
>
> This has always confused me. This is the some output of the program
> shown. Is that correct, or am I completely missing the barge?
> At the risk of a rule violation, I am attaching the picture.
> Please forgive.
>
ed the entire image...
George
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of George Gallen
> Sent: Thursday, July 27, 2006 2:16 PM
> To: u2-users@listserver.u2ug.org
> Subject: SpamSlayer Alert: [U2] Reading Binary data from a file...
>
>
This has always confused me. This is the some output of the program
shown. Is that correct, or am I completely missing the barge?
At the risk of a rule violation, I am attaching the picture. Please forgive.
FLD:2
0 33 76 101 119 105 115 47 32 77 99 77 117 114 114 121 47 87 105 108
108 109 97 110
In UD you would use:
OSOPEN
OSBREAD
NOCONVERT
Thanks,
David A. Green
DAG Consulting
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
Sent: Thursday, July 27, 2006 11:16 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Reading Binary data
I want to write a little routine that will display the ascii codes of a binary
file.
(aside from running it through base64 first...)
Is there a way to open the file and read it is in block by block, and be able
to show the SEQ() #'s?
I suspect there may be numerous CHAR(255) and CHAR(254)'s.
No,
14 matches
Mail list logo