× 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.



Jay,

Comments inline.

> -----Original Message-----
> From: Jay Sulzmann [mailto:jsulzmann@HBS-INC.COM]
> Sent: Friday, May 24, 2002 10:28 AM
> To: cobol400-l@midrange.com
> Subject: Re: IP Address Conversion using an IBM API
>
> Terry,
>
> In the process I have "nomonoprc" but not "apost".  Can that make a
> difference?  I normally use "apost" when I write code; this piece was
> downloaded from a site.  He uses double-quotes for all his
> literal; in an
> effort to get this thing running; I just made the necessary changes.

Sorry, I should have removed the apost....its not needed.

> Also, I'm using pic s9(9) binary as the pic clause for my
> return-code; I'm
> just calling it ApiReturn.  Noticed you're using s9(09); that makes me
> wonder if s9(9) could be generating bad code?

No, this should have no impact.  My mental code generator
prefixes a zero to all single digit PIC clauses ;-)

> One other thing.  The original had been compiled as a module
> and included in
> another object resulting from a CRTPGM.  Since we're calling this one
> directly, I opted for CRTBNDCBL to run in QILE.

Yep, sounds right to me.  If I get a chance, I'll try a test
program this afternoon.

I'm still at a loss regarding the API description.  Do you
have a link to an online source for the description? The
API manual/redbook for Unix_Type API's points to an unknown
IBM site (nothing new here).

> Appreciate your suggestions.  Any further insight would
> surely be welcome.
> Thanks.  -- Jay



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.