Passing an attribute from a work area to an environment

I would like to pass the value in a work area to an environment. It seems like this is something I should be able to do but am having some difficulty. Basically I want to take a job number from the work area and populate that value in the environment. Can anyone help me with this?

Some of my confusion revolves around the documentation and syntax. When I am looking at the SQL statements sometimes a SELECT command is included but when reading the help it is not can someone point me in the right direction here also?

Thanks in advance, 

Josh