Q
Problem solve Get help with specific problems with your technologies, process and projects.

Running a .BAT file from the IFS

How can I run a .BAT file stored in an IFS directory from a batched CL program? OS/400 is not capable of running...

batch file (hank goodness for this) so you will need a PC with the following attributes:

  • Install Client Access on the PC (i.e. MYPC)
  • Activate the incoming remote command service
  • Map network drive from the PC to your iSeries (i.e. f = mydir on the iSeries where the batch file resides in mydir directory)
  • Run remote command from the iSeries batch file:

    RUNRMTCMD CMD('f:mybat')
    RMTLOCNAME(MYPC *IP)
    RMTUSER(RMTUSR)

    ==================================
    MORE INFORMATION ON THIS TOPIC
    ==================================

    Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

    The Best Web Links: Tips, tutorials and more.

    PC/Windows connectivity expert Shahar Mor is available to answer your toughest networking questions. Ask Shahar a question or read his previously answered questions here.


  • This was last published in August 2004

    Dig Deeper on FTP

    Have a question for an expert?

    Please add a title for your question

    Get answers from a TechTarget expert on whatever's puzzling you.

    You will be able to add details on the next page.

    Start the conversation

    Send me notifications when other members comment.

    Please create a username to comment.

    -ADS BY GOOGLE

    SearchDataCenter

    Close