CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2000
    Location
    Belgium, Bruges
    Posts
    146

    executing command on AS/400

    Hi,

    is there a way to execute a command on AS/400 with VB??

    Thanx


  2. #2
    Join Date
    Sep 2001
    Location
    Montreal Canada
    Posts
    1,080

    Re: executing command on AS/400

    Shell ? maybe


    Nicolas Bohemier

  3. #3
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: executing command on AS/400

    What command are you talking about.
    You can execute any SQL and CL. If that what you want then you can do it on connection object
    sSQL = "Call MyLib.MycL"
    cn.Execute sSQL

    where cn is connection to AS/400 database

    Pay attention that it is a dot between library name and program - not a slash like AS400 likes. That is a little trick that Client Access doing to SQL while transferring it to 400.

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured