>>What kind of script?
>
>This is a script which restores a copy of the production database on UAT.
>
>I need to have a copy of that script but with a change of the database name so I can test something in a temporary database without affecting UAT.
Michel, this is just a guess....
Right-click on the job in SQL Agent and go to Properties. In the dialog that pops up. go to the Steps page option. On that page you might see a reference to SQL stored proc or some reference to the script.