ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

STRPCCMD problem connecting to ip

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

  • STRPCCMD problem connecting to ip

    hi
    I'm using STRPCCMD to open an ip address.
    when i'm using it for the ip address alone, it will ask me for login and password (we are using iseries client access)
    however, if i want to run a simple .bat or .vbs file at the same ip address, the program will end without doing anything. doesn't show login or some error.
    does anybody know a way around this?
    perhaps i can force the login screen?

    thanks

  • #2
    Re: STRPCCMD problem connecting to ip

    Hi Alligator:


    I've never used the IP address with strpccmd I thought that was reserved for runrmtcmd, but I've been wrong before and I'm sure I'll be wrong again.

    This works for me.....

    Code:
    pgm                                             
    STRPCO                                          
    MONMSG CPF0000                                  
    STRPCCMD   PCCMD('G:\gmw4.bat') PAUSE(*NO)      
    endpgm
    Best of Luck
    GLS
    The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

    Comment


    • #3
      Re: STRPCCMD problem connecting to ip

      Try to do it with:

      Comment

      Working...
      X