Run a job from input file + user subroutine in cmd

Hello everybody. I want to run a job from an input file + user subroutine in cmd. Does anybody know what command should I use in cmd? Thank you