Simple dynamic response of a beam

Hi,

I’m trying to examine the dynamic response of a beam to simple load function (step load for example).
I’ve viewed the examples in dyna, ase, and VB, but I can’t understand how to use the functions in this case.
After defining the material and elements, how can i define the load and review the response of the beam?

Thank you