Are you familar with the UPDATE statement?
Assuming that servername returns the correct data this should work for you:
-- USE msdb
-- UPDATE sysjobs SET originating_server = servername
-- SELECT rowcount
(uncomment the statement in order to run it)
"yanping wang" <com> wrote in message news:#phx.gbl...