Passing the values to the secondary script when it invoked by primary script

Hi,

When I invoke a script s1.sh it will call an another script s2.sh by itself. This script s2.sh will call some java files, so while running the script it asks for a file name to be processed. Which we can see in the screen.

The file name to be processed is present in script s1.sh

Now I need this script s1.sh to give the file name on the screen so that
script s2.sh will pick up that and continue the process.

Below are the details how does it works.

/users/venu> sh s1.sh
--script 2 is called--
Enter ur file name:

In the above statement 'Enter ur file name:' is asked by script 2 which is called internally by script 1.

Please any one tell me how to process the file name which is there in script s1 to the sxpected place 'Enter ur file name:'.

Regards
Venu

Create a file with environment variable and include it to both files.