|
Forgive me if you've seen this before, but I didn't see my reply come back from the list, so I'm resending it. ...Neil
- Subject: Re: Communications
- From: Neil Palmer <NPalmer@xxxxxxxxxxx>
- Date: Wed, 09 Jul 1997 19:06:47 -0400
- Organization: NxTrend Technology - Canada
Mike Windbeck wrote: "I'm an AS400 RPG programmer not a AS400 communications person but have been given this task. We have customers that we need to do communications with. What my company has been doing is asking them for their exchange id on their line and filling it in here on the controller. Also the controller on the their end has our exchange id from our line. My company wants to have a controller and device for every customer on our AS400. The way we have them create the line is with the CRTLINSDLC command and the EXCHID keyword as (*SYSGEN). The problem is we are getting customers with the same exchange id's. I realize that the exchange id's must be unique the current way the line and controllers are created but there may be a better way and I do not know what it is. I must be looking at the wrong area in the AS400 Redbook softcopy library on CD because I have yet to find a way around this issue. Suggestions?" The exchange id's will not necessarily be unique. We had two customers who ended up with the same EXCHID when created with the *SYSGEN default. It USED to use the last 5 positions of the serial number. In Canada, the early 9404's were made in Mexico and the serial number started with 78. The 9406's were mad ein the US and the serial number started with 10. We had a 9404 & 9406 customer taht had the same last 5 positions of serial number, and *SYSGEN created the same EXCHID. We just manually changed one of our customers controllers on our machine, and the matching customers line description on their machine, to make it unique. (You can't changed the EXCHID, you must COPY the existing line/controller from WRKLIND or WRKCTLD and before entering to create the new one delete the old one from another session. When you recreate the controller, make sure you attach the existing device to it - or just COPY & recreate that too). Note that with more recent AS/400's (Black boxes) the last 5 positions of the serial number are now NOT necessarily valid hexadecimal numbers. They can contain ANY letter, so *SYSGEN now uses some algorithm to create the EXCHID if the serial # contains a letter above 'F'. -- ... Neil Palmer AS/400~~~~~ ... NxTrend Technology -Canada ____________ ___ ~ ... Markham, Ontario, Canada |OOOOOOOOOO| ________ o|__||= ... Phone: (905) 731-9000 x238 |__________|_|______|_|______) ... url:http://www.NxTrend.com oo oo oo oo OOOo=o\ ... mailto:NPalmer@NxTrend.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.