Hi Umair,
You are trying to create the prompt for Oracle database but you are using the functions of MSSQL server. Convert(varchar(10), GetDate(), 112 is sql server function.
Change this function specific to Oracle syntax and try parsing the prompt.
You need to use Sysdate function instead of getdate function for oracle.
And Use to_char, to_date functions to convert the default date to the required format.