title: How to create a AS400 shell script (.ksh) file
body: <p>I am new to shell script on iSeries, but i have created one sample script:</p>
  
  <pre><code>#!/bin/ksh
  
  cd /QIBM/Userdata/employeedetails/
  
  pwd
  
  ls -ltr
  </code></pre>
  
  <p>I placed it under <code>/QIBM/testscript.ksh</code> and tried to run the script on the main menu using <code>STRQSH CMD('/QIBM/testscript.ksh')</code></p>
  
  <p>I got this error, can someone please let me know what did do wrong here?</p>
  
  <pre class="lang-none prettyprint-override"><code>qsh: 001-0014 Command /QIBM/testscript.ksh not found. 
  
  Press ENTER to end terminal session.             
  </code></pre>
  
  <p>I am wondering, is it possible to create shell script on the iSeries (AS/400)?</p>