2D elements:

keyword type end node p end node q generalized deformation modes
PLBEAM planar beam xp, Φp xq, Φq ε123
PLTRUSS planar truss xp xq ε1

3D elements:

keyword type end node p end node q generalized deformation modes
BEAM spatial beam xp, λp xq, λq ε123456
TRUSS spatial truss xp xq ε1