I am trying to develop a rexx code which will give the age of the person when i enter his/her name.
The flat file will be as follows:
david 20
anjan 23
hari 22
so on.....
the age starts at, say, 10th column.
When i enter a name, i want the REXX code to do the following :
1. Refer the PS file.
2. Search for the name in the flat file.
3. If found, then give only his/her age as the output.
i am confident of the 1st and 3rd. can anyone help me with the 2nd one?