![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've created a Keyed Import to bring in shipment information from our D3 database. It works great, however, after a few days I've noticed that the user associated with worldship is logged on 3+ ports. A wheres on the user shows that the last command executed was exit for all the lines. Does worldship normally take so many lines or am is worldship not closing the connections properly? |
#3
| |||
| |||
|
|
It seems worldship connections issue an exit command and then physically disconnect before D3 has time to execute the wrapup. *To fix this: In the User item where worldship logs-in, add this to the list of macro's executed: dcd (n (If you already have "dcd-on" or "dcd (n" then you don't need to add that.) Now in your user-coldstart in dm,md, add: trap dcd exit Now execute the trap command at tcl to avoid a reboot. That should fix the problem immediately for any new logins. *Let us know how it goes. Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula R&D sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services remove.pleaseNebula-RnD.com/blog Visit PickWiki.com! Contribute!http://Twitter.com/TonyGravagno Specific wrote: I've created a Keyed Import to bring in shipment information from our D3 database. *It works great, however, after a few days I've noticed that the user associated with worldship is logged on 3+ ports. *A wheres on the user shows that the last command executed was exit for all the lines. Does worldship normally take so many lines or am is worldship not closing the connections properly? |
#4
| |||
| |||
|
|
I've created a Keyed Import to bring in shipment information from our D3 database. It works great, however, after a few days I've noticed that the user associated with worldship is logged on 3+ ports. A wheres on the user shows that the last command executed was exit for all the lines. Does worldship normally take so many lines or am is worldship not closing the connections properly? |
#5
| |||
| |||
|
|
On 1/25/2011 11:31 AM, Specific wrote: I've created a Keyed Import to bring in shipment information from our D3 database. *It works great, however, after a few days I've noticed that the user associated with worldship is logged on 3+ ports. *A wheres on the user shows that the last command executed was exit for all the lines. Does worldship normally take so many lines or am is worldship not closing the connections properly? How are you feeding the D3 data into WorldShip? I do so via a VB (actually VB6) program using RPC that feeds the data into my own .mdb which is then imported into WorldShip. Tony's answer is necessary, but I have also found that D3 doesn't always logoff the first time you issue a Logoff command. So I do it twice, and that seems to work. I do the following: Private Sub Logoff() * * *Call D3VME.brLogoff * * *On Error Resume Next * * *Call D3VME.brLogoff * * *Call D3Domain.brCloseVirtualMachine(D3VME) * * *Call D3Env.brCloseDomain(D3Domain) * * *Set D3VME = Nothing * * *Set D3Domain = Nothing * * *Set D3Env = Nothing End Sub Hope this helps. Sholom |
#6
| |||
| |||
|
|
On Jan 27, 10:01*am, sh <sham... (AT) prupipe (DOT) com> wrote: On 1/25/2011 11:31 AM, Specific wrote: I've created a Keyed Import to bring in shipment information from our D3 database. *It works great, however, after a few days I've noticed that the user associated with worldship is logged on 3+ ports. *A wheres on the user shows that the last command executed was exit for all the lines. Does worldship normally take so many lines or am is worldship not closing the connections properly? How are you feeding the D3 data into WorldShip? I do so via a VB (actually VB6) program using RPC that feeds the data into my own .mdb which is then imported into WorldShip. Tony's answer is necessary, but I have also found that D3 doesn't always logoff the first time you issue a Logoff command. So I do it twice, and that seems to work. I do the following: Private Sub Logoff() * * *Call D3VME.brLogoff * * *On Error Resume Next * * *Call D3VME.brLogoff * * *Call D3Domain.brCloseVirtualMachine(D3VME) * * *Call D3Env.brCloseDomain(D3Domain) * * *Set D3VME = Nothing * * *Set D3Domain = Nothing * * *Set D3Env = Nothing End Sub Hope this helps. Sholom We created a view table for orders in d3 and use Worldship's key mapping to import via ODBC. *The tigerlogic C27 ODBC driver was installed on the worldship computer, and we created a system odbc data source that connects to the server. *The person running shipments simply types in the invoice number and it will grab all the shipment information for them. |
#7
| |||
| |||
|
|
On Jan 27, 10:01 am, sh<sham... (AT) prupipe (DOT) com> wrote: On 1/25/2011 11:31 AM, Specific wrote: I've created a Keyed Import to bring in shipment information from our D3 database. It works great, however, after a few days I've noticed that the user associated with worldship is logged on 3+ ports. A wheres on the user shows that the last command executed was exit for all the lines. Does worldship normally take so many lines or am is worldship not closing the connections properly? How are you feeding the D3 data into WorldShip? I do so via a VB (actually VB6) program using RPC that feeds the data into my own .mdb which is then imported into WorldShip. Tony's answer is necessary, but I have also found that D3 doesn't always logoff the first time you issue a Logoff command. So I do it twice, and that seems to work. I do the following: Private Sub Logoff() Call D3VME.brLogoff On Error Resume Next Call D3VME.brLogoff Call D3Domain.brCloseVirtualMachine(D3VME) Call D3Env.brCloseDomain(D3Domain) Set D3VME = Nothing Set D3Domain = Nothing Set D3Env = Nothing End Sub Hope this helps. Sholom We created a view table for orders in d3 and use Worldship's key mapping to import via ODBC. The tigerlogic C27 ODBC driver was installed on the worldship computer, and we created a system odbc data source that connects to the server. The person running shipments simply types in the invoice number and it will grab all the shipment information for them. |
#8
| |||
| |||
|
|
On 1/27/2011 1:55 PM, Specific wrote: On Jan 27, 10:01 am, sh<sham... (AT) prupipe (DOT) com> *wrote: On 1/25/2011 11:31 AM, Specific wrote: I've created a Keyed Import to bring in shipment information from our D3 database. *It works great, however, after a few days I've noticed that the user associated with worldship is logged on 3+ ports. *A wheres on the user shows that the last command executed was exit for all the lines. Does worldship normally take so many lines or am is worldship not closing the connections properly? How are you feeding the D3 data into WorldShip? I do so via a VB (actually VB6) program using RPC that feeds the data into my own .mdb which is then imported into WorldShip. Tony's answer is necessary, but I have also found that D3 doesn't always logoff the first time you issue a Logoff command. So I do it twice, and that seems to work. I do the following: Private Sub Logoff() * * * Call D3VME.brLogoff * * * On Error Resume Next * * * Call D3VME.brLogoff * * * Call D3Domain.brCloseVirtualMachine(D3VME) * * * Call D3Env.brCloseDomain(D3Domain) * * * Set D3VME = Nothing * * * Set D3Domain = Nothing * * * Set D3Env = Nothing End Sub Hope this helps. Sholom We created a view table for orders in d3 and use Worldship's key mapping to import via ODBC. *The tigerlogic C27 ODBC driver was installed on the worldship computer, and we created a system odbc data source that connects to the server. *The person running shipments simply types in the invoice number and it will grab all the shipment information for them. I'm not sure the D3 ODBC driver was/is totally reliable. IIRC, there were lots of problems with it. Has it been "refreshed" lately by TL? |
#9
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |