ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

how can i run As400 command from asp.net "vb.net"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how can i run As400 command from asp.net "vb.net"

    hi
    I am working in as400 system and I using asp.net ,so how can I use As400 commands from asp.net "vb.net"?
    thanks

  • #2
    Re: how can i run As400 command from asp.net "vb.net"

    one way is using odbc.

    PHP Code:
    ISeriesConn.ConnectionString "DRIVER=Client Access ODBC Driver (32-bit); " _
                                
    "QUERYTIMEOUT = 0;" _
                                
    "XDYNAMIC = 0 ;" _
                                
    "SYSTEM = 205.205.205.1; UID = " UserId _
                                
    ";PWD = " PassWord
    ISeriesConn
    .Open


     
    'Send status to job jog.
    Statement = "CALL MM4R4PGM.DIAG800('
    Process Data has started' ,'0024')"
    ISeriesConn.Execute Statement

    '
    Set the library list of the jobto be the letter of the library
    ThisLetter 
    Mid(Library41)
    Statement "CALL QGPL.DEV810JQ (" "'" Trim(ThisLetter) + "','FOR87002CL','I         ')"
    ISeriesConn.Execute Statement 
    There are other examples on this site. Please use the search feature for more.
    Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

    Comment


    • #3
      Re: how can i run As400 command from asp.net "vb.net"

      Use ADO.NET
      "Time passes, but sometimes it beats the <crap> out of you as it goes."

      Comment


      • #4
        Re: how can i run As400 command from asp.net &quot;vb.net&quot;

        you mean asp.net ?
        any way thanks a lot

        Comment


        • #5
          Re: how can i run As400 command from asp.net &quot;vb.net&quot;

          Ali,

          Check here http://www.code400.com/forum/showthr...hlight=ADO.NET

          and here http://www.google.com/search?hl=en&q=ADO.Net

          There is a world outside of ASP.Net .... you just need to see it

          GC
          Greg Craill: "Life's hard - Get a helmet !!"

          Comment


          • #6
            Re: how can i run As400 command from asp.net &quot;vb.net&quot;

            No, I mean ADO.NET
            "Time passes, but sometimes it beats the <crap> out of you as it goes."

            Comment

            Working...
            X