The problem is that you are misusing the "export" command. This command puts one or more variables into the environment table using the syntax:
export variable1 variable2 ...
In your script, the variable line_no in the line "export $line_no $proc_name" has a value of 10. As the shell expects a list of variables to export and variables have to start with a letter or underscore (_) you get an error. The next line calls the second script with parameters, so just remove the "export ..." line and all should be fine.