• TACL pathway server class and LAN issue

    From Luis Silva@21:1/5 to All on Wed Jan 27 13:24:06 2021
    Hi,

    first of all, thank you all for your previous responses and recommendations.

    I have a working app in c that uses sockets. Everything is fine.

    Networking tells me that i need to use a particular LAN. So when i run my app as stand alone first I set some environment variables for it to run.

    add define = tcpip process name , FILE $file
    PARAM TCPIP PROCESS NAME $file

    Everything works fine.

    Now I need to set the app as a pathway serverclass

    But when i start it my app is not set to the correct LAN.

    Is there a way to tell pathmon to use that particuar lan?

    Thank you

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bill Honaker@21:1/5 to Luis Silva on Wed Jan 27 15:44:29 2021
    On Wed, 27 Jan 2021 13:24:06 -0800 (PST), Luis Silva <hewey01@gmail.com> wrote:

    Hi,

    first of all, thank you all for your previous responses and recommendations.

    I have a working app in c that uses sockets. Everything is fine.

    Networking tells me that i need to use a particular LAN. So when i run my app as stand alone first I set some environment variables for it to run.

    add define = tcpip process name , FILE $file
    PARAM TCPIP PROCESS NAME $file

    Everything works fine.

    Now I need to set the app as a pathway serverclass

    But when i start it my app is not set to the correct LAN.

    Is there a way to tell pathmon to use that particuar lan?

    Thank you

    Hi, Luis,

    First, your exapmles above leave out the necessary caret (^) character, but since it works I'm assumeing that's a transcription issue.
    I think the use of both the DEFINE and PARAM are not required. I usually just stick the DEFINE method.

    Use the DEFINE serverclass parameter to add the necessary define. Pathmon will start the process with that in it's list of defines. For example:

    SET SERVER DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE \SYSNAME.$ZTC0
    or
    ALTER SERVER srvname, DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE \SYSNAME.$ZTC0

    Note that this method works whether the server class is PROCESSTYPE GUARDIAN or PROCESSTYPE OSS.

    Good luck!
    Bill

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luis Silva@21:1/5 to All on Wed Jan 27 14:14:08 2021
    Thank you, I'll try with it and let you know.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luis Silva@21:1/5 to Luis Silva on Wed Jan 27 16:00:47 2021
    On Wednesday, January 27, 2021 at 5:48:08 PM UTC-6, Luis Silva wrote:
    On Wednesday, January 27, 2021 at 3:44:33 PM UTC-6, Bill Honaker wrote:
    On Wed, 27 Jan 2021 13:24:06 -0800 (PST), Luis Silva <hew...@gmail.com> wrote:

    Hi,

    first of all, thank you all for your previous responses and recommendations.

    I have a working app in c that uses sockets. Everything is fine.

    Networking tells me that i need to use a particular LAN. So when i run my app as stand alone first I set some environment variables for it to run.

    add define = tcpip process name , FILE $file
    PARAM TCPIP PROCESS NAME $file

    Everything works fine.

    Now I need to set the app as a pathway serverclass

    But when i start it my app is not set to the correct LAN.

    Is there a way to tell pathmon to use that particuar lan?

    Thank you
    Hi, Luis,

    First, your exapmles above leave out the necessary caret (^) character, but since it works I'm assumeing that's a transcription issue.
    I think the use of both the DEFINE and PARAM are not required. I usually just stick the DEFINE method.

    Use the DEFINE serverclass parameter to add the necessary define. Pathmon will start the process with that in it's list of defines. For example:

    SET SERVER DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE \SYSNAME.$ZTC0
    or
    ALTER SERVER srvname, DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE \SYSNAME.$ZTC0

    Note that this method works whether the server class is PROCESSTYPE GUARDIAN or PROCESSTYPE OSS.

    Good luck!
    Bill
    Hi,

    I set it without the /sysname

    SET SERVER DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE $ZTC3

    is this ok?

    info server myserver
    doesnt show this param, how can i verify it is configured correctly. Beyond testing it =)

    Never mind,

    used Alter and now it shows in info server

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luis Silva@21:1/5 to Bill Honaker on Wed Jan 27 15:48:07 2021
    On Wednesday, January 27, 2021 at 3:44:33 PM UTC-6, Bill Honaker wrote:
    On Wed, 27 Jan 2021 13:24:06 -0800 (PST), Luis Silva <hew...@gmail.com> wrote:

    Hi,

    first of all, thank you all for your previous responses and recommendations.

    I have a working app in c that uses sockets. Everything is fine.

    Networking tells me that i need to use a particular LAN. So when i run my app as stand alone first I set some environment variables for it to run.

    add define = tcpip process name , FILE $file
    PARAM TCPIP PROCESS NAME $file

    Everything works fine.

    Now I need to set the app as a pathway serverclass

    But when i start it my app is not set to the correct LAN.

    Is there a way to tell pathmon to use that particuar lan?

    Thank you
    Hi, Luis,

    First, your exapmles above leave out the necessary caret (^) character, but since it works I'm assumeing that's a transcription issue.
    I think the use of both the DEFINE and PARAM are not required. I usually just stick the DEFINE method.

    Use the DEFINE serverclass parameter to add the necessary define. Pathmon will start the process with that in it's list of defines. For example:

    SET SERVER DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE \SYSNAME.$ZTC0
    or
    ALTER SERVER srvname, DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE \SYSNAME.$ZTC0

    Note that this method works whether the server class is PROCESSTYPE GUARDIAN or PROCESSTYPE OSS.

    Good luck!
    Bill


    Hi,

    I set it without the /sysname

    SET SERVER DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE $ZTC3

    is this ok?

    info server myserver
    doesnt show this param, how can i verify it is configured correctly. Beyond testing it =)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bill Honaker@21:1/5 to Luis Silva on Wed Jan 27 19:27:30 2021
    On Wed, 27 Jan 2021 16:00:47 -0800 (PST), Luis Silva <hewey01@gmail.com> wrote:

    On Wednesday, January 27, 2021 at 5:48:08 PM UTC-6, Luis Silva wrote:
    On Wednesday, January 27, 2021 at 3:44:33 PM UTC-6, Bill Honaker wrote:
    On Wed, 27 Jan 2021 13:24:06 -0800 (PST), Luis Silva <hew...@gmail.com> wrote:

    Hi,

    first of all, thank you all for your previous responses and recommendations.

    I have a working app in c that uses sockets. Everything is fine.

    Networking tells me that i need to use a particular LAN. So when i run my app as stand alone first I set some environment variables for it to run.

    add define = tcpip process name , FILE $file
    PARAM TCPIP PROCESS NAME $file

    Everything works fine.

    Now I need to set the app as a pathway serverclass

    But when i start it my app is not set to the correct LAN.

    Is there a way to tell pathmon to use that particuar lan?

    Thank you
    Hi, Luis,

    First, your exapmles above leave out the necessary caret (^) character, but since it works I'm assumeing that's a transcription issue.
    I think the use of both the DEFINE and PARAM are not required. I usually just stick the DEFINE method.

    Use the DEFINE serverclass parameter to add the necessary define. Pathmon will start the process with that in it's list of defines. For example:

    SET SERVER DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE \SYSNAME.$ZTC0
    or
    ALTER SERVER srvname, DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE \SYSNAME.$ZTC0

    Note that this method works whether the server class is PROCESSTYPE GUARDIAN or PROCESSTYPE OSS.

    Good luck!
    Bill
    Hi,

    I set it without the /sysname

    SET SERVER DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE $ZTC3

    is this ok?

    info server myserver
    doesnt show this param, how can i verify it is configured correctly. Beyond testing it =)

    Never mind,

    used Alter and now it shows in info server

    Just like 'ASSIGN, the system name defaults to the current system.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)