can anyone give be better sugggestion for this please as soon as possible
What seems to be the hurry?
What better answer than:
will happen as the dd is not referenced in the program
b. an error may be thrown if the dataset name does not exist or there is some other problem with the dd statement.
You appear to believe there might be something more/better. What do you have in mind?