+ Reply to Thread
Results 1 to 4 of 4

Thread: Call a Java program from a COBOL program?

  1. #1
    Guest.Visitor Guest

    Default Call a Java program from a COBOL program?

    Is it possible to call a Java program located on an NT server (not on the AS/400) from a COBOL program or C program? I know it's possible to call a Java program from a COBOL program if both are on the AS/400 but what if the Java program is on another system? Thank you, Dorian

  2. #2
    Guest.Visitor Guest

    Default Call a Java program from a COBOL program?

    I doubt if anything like this exists. You could write your own with sockets, though. The COBOL or C program could write to a socket the client program is listening to. The hard part is getting the Java program on the PC started, and configuring what server to talk to. Even that wouldn't be that hard. With NT is it pretty easy to start daemon jobs that run all the time. - Jeff Lee, AS/400 Toolbox for Java

  3. #3
    Guest.Visitor Guest

    Default Call a Java program from a COBOL program?

    Two methods come to mind: 1) use arexec ( run remote command ) from the as/400 to the NT server. This requires CA on the PC with the deamon running. Either as a console app ( Win 98, 95, ME ) or a service ( NT, 2000 ). 2) In the resource kit for NT there is an add on to enable remote command execution within ftp. This is not normally installed with the FTP server for NT! After installation you can write a script to ftp from the as/400 to the NT server and then run a command ( program ). This is just high level obviously. If you need further I will write back with details. HTH Dan

  4. #4
    Guest.Visitor Guest

    Default Call a Java program from a COBOL program?

    Dan, can you tell me what the name of the FTP add on in the resource kit is? I cannot find any information on it. Thanks, Tom B.

+ Reply to Thread

Similar Threads

  1. How to call AS/400 program from Java
    By Guest.Visitor in forum RPG
    Replies: 3
    Last Post: 03-23-2004, 05:23 AM
  2. can RPG program make a call to a java program?
    By Guest.Visitor in forum Application Software
    Replies: 14
    Last Post: 09-28-2000, 12:16 PM
  3. Call Cobol/400 program from RPG/400
    By David Abramowitz in forum Programming
    Replies: 2
    Last Post: 11-30-1997, 11:21 PM
  4. Call a Java program from a COBOL program?
    By Guest.Visitor in forum Application Software
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM
  5. Call a Java program from a Cobol Program?
    By Guest.Visitor in forum Programming
    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