+ Reply to Thread
Results 1 to 4 of 4

Thread: QTVOPNVT using an IP address

  1. #1
    Guest.Visitor Guest

    Default QTVOPNVT using an IP address

    Has anyone used the QTVOPNVT api to work using the IP address as a parameter? I have the api working (on the default connection) but can't use the IP address or a user name and password as parameters. I am programming in C. Thanks for any help.

  2. #2
    Guest.Visitor Guest

    Default QTVOPNVT using an IP address

    What type of problem are you having? If you wanted to use an IP address of 0.0.0.1 you would use an argument such as x'0000000100000007000000080802000100000001' for session initiation information where x'00000001' means 1 variable length record; x'00000007' means key 7; x'00000008' means length of data is 8 bytes; x'08' means the network address size is 8 bytes; x'02' means IP; x'0001' is the TCP port; and x'00000001' is the Internet address. Using this to start a session and calling QDCRDEVD to determine the address used for the session then returned 0.0.0.1. Be aware that when using multiple variable length records, each record must start on a 4-byte boundary (see Format of Variable Length Record). Adjust the Length of data element within each variable length record to accomplish this alignment.

  3. #3
    Guest.Visitor Guest

    Default QTVOPNVT using an IP address

    Oh, so it looks as though it is working, as reported by QDCRDEVD. However, I'll have to review the documentation; I didn't think this was how it used the IP address. When I enter an IP address, it returns the sign-on screen of my system. What is it doing, then, with the IP? I wanted to enter the IP address of another system and get the sign-on screen from that machine, so, just as if I were running TELNET to the destination machine from the original machine's command line. Is this possible? I guess I could sign on and then perform a TELNET...

  4. #4
    Guest.Visitor Guest

    Default QTVOPNVT using an IP address

    Sorry, but that is not the intent of the network address key. It is basically so that system users can determine what address is accessing the virtual terminal (interactive) job. The general idea is for a client to access a server job which then controls the virtual terminal session. The server job feeds the QTVOPNVT API the network address of the requesting client so that the system operator can then "see" what client is using the application/job. You need to call the API from the system where the application resides.

+ Reply to Thread

Similar Threads

  1. Network address in QTVOPNVT
    By bbresc512 in forum General
    Replies: 1
    Last Post: 08-27-2004, 12:35 PM
  2. AS/400 IP address?
    By cwscholbe@dstsystems.com in forum IBM i (OS/400, i5/OS)
    Replies: 7
    Last Post: 05-24-2001, 10:59 AM
  3. IP address
    By Guest.Visitor in forum Analysis
    Replies: 2
    Last Post: 03-29-2000, 05:27 AM
  4. IP Address of job
    By Guest.Visitor in forum Networking
    Replies: 1
    Last Post: 11-17-1998, 03:56 PM
  5. AS/400 TCP/IP address
    By Guest.Visitor in forum Networking
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts