So far this works for me. Using tokens....
SET @myJobName= ( SELECT name FROM msdb.dbo.sysjobs WHERE Job_ID = CONVERT(uniqueidentifier, $(ESCAPE_NONE(JOBID))) )
SET @lastRunDate = $(ESCAPE_NONE(STRTDT))
SET @lastRunTime = $(ESCAPE_NONE(STRTTM))
SET @myScheduleName = (...