× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Maybe this will help you out:
D binAddrDS DS Qualified
D byte1 3U 0
D byte2 3U 0
D byte3 3U 0
D byte4 3U 0
D binary 10I 0 Overlay(binAddrDS)

/Free
binAddrDS.byte1 = 10 ;
binAddrDS.byte2 = 20 ;
binAddrDS.byte3 = 30 ;
binAddrDS.byte4 = 40 ;
// Now, binAddrDS.binary contains your bin(4) address

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"I found your essay to be good and original. However, the part that was
original was not good and the part that was good was not original."
-- Samuel Johnson

Surely this is a typo. If the IP address was 10.20.30.40 (for
example),
how
would I get the IP address into a BINARY(4) field?

10 = 0a
20 = 14
30 = 1E
40 = 38

Bin4 = x'0a141e38' or decimal 169090616

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
Find something you love to do and you'll never have to work a day in
your
life.


I'm trying to use the QtocLstNetCnn API NCLQ0100 format in a CLLE
program.
I'm using a *SUBSET list and am trying to understand how to indicate
the
lower and upper IP address range.

Info Center format section shows that the 2 fields are defined as
BINARY(4)
but the field description section says they should be in dotted
decimal
("Local internet address lower value. The lower value of the local
system
internet address range, in dotted decimal format, requested for
subsetting
the list.").

Surely this is a typo. If the IP address was 10.20.30.40 (for
example),
how
would I get the IP address into a BINARY(4) field?

Thanks,

Steve


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.