In addition to the batch script, a job script was also created using the following code.