|
Terry, There are 2 sites that I know of. (1) IBM's documentation http://publib.boulder.ibm.com/html/as400/v5r1/ic2924/index.htm (2) The more user-friendly http://klement.dstorm.net/rpg/socktut/x213.html The 2nd one talks about doing twos-complements. I don't think we should have to go there. Looking forward to your results. Your help is deeply appreciated. Thanks. -- Jay ----- Original Message ----- From: "Winchester Terry" <terry.winchester@raymondcorp.com> To: <cobol400-l@midrange.com> Sent: Friday, May 24, 2002 11:00 AM Subject: RE: IP Address Conversion using an IBM API > 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 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.