Hi, Cheri,
Here is a suggestion (please keep in mind the pseudo code in my reply is not the exact code you will need):
In a data step:
If parm2 eq
then parm2 = parm1;
run;
The data step must have the run; command as its last line.
I'm assuming you will be using a Proc SQL later, so you would then, in Proc Sql, have something like the following:
Proc Sql;
CREATE TABLE YourTable AS SELECT field1, field2
FROM YourOtherTable AS CallItWhatever
WHERE YourOtherTable.field1 BETWEEN "&parm1" and "&parm2";
Quit;
Don't forget....you might need to include logic in your data step that checks to make sure the second parm is equal to or larger than the first parm, but not smaller than the first parm.
Hope this helps. Also, in these forums, there is a lady from SAS, by the name of Cynthia, who has been a tremendous help to me. If you can catch her attention, she is wonderful on replying and on helping!