Hello priyanka_1611,
If you want to check for the specific step and proc amongst the two, you would code the STEP and PROC values to the proc and step that you are trying to check for:
JC, SC TST: STEP EQ STEPA PROC EQ PROC1 PGM EQ *
In this scenario, this will check for the condition for STEPA in PROC1