Building and working with datasets in a BPM

Hello Folks,
I am trying to create and assign values to a dataset within a BPM. I find myself in a situation where I need to pass a dataset via a RUN statement. Does anyone have any sample code handy which would assign/create/define a dataset and populate it with data? I would appreciate any assistance.
Thanks,
Gene M.

[Non-text portions of this message have been removed]