How to pass a filename as a command line argument

Hi,I have a script which is given below :#!/bin/bash. ini_script.shdb2 connect to $DB_NAME user $DB2_UID using $DB2_PASSWORDfor file in `ls -1 ./sql/ddw/`do echo "Executing the file $file" echo db2 -tvf $filedonedb2 quiti want this script to accept directorie's names present in /sql/ddw as a command line argument.directories present in /sql/ddw is 1 and 2,so script should be ./priya and den directory name should be asked ./priya1.sh and so..can anyone plzz help !!! ~Priya

Could you please have another look at your post and verify if this is how you intended to format it? Also please use code tags...