And also added a custom code to be run after the sumbitted the code as given below:
The problem that i'm encounteriing while running the codes with prompts, is that the macro variable that gets assigned in the beginning of the code (eg: %LET name = Mary at the EG end, would not get carried to the server where the actual code gets run in the grid enviroinment.
So my code doesn't have a value for the macro variable name and throws up the error saying:
WARNING: Apparent symbolic reference NAME not resolved.
This however runs fine when I'm running the code without the grid enablement.