Train EB was applied while departing station in Auto mode due to 'A' side cab door opened by itself.TC closed and latched the cab door. Reset EB - ok. ~~~~~ Train EB was applied while departing sta     #3511 Cab door able to close and positively latch with DIR extinguished.No FOD in door guide.Further check found DIR was intermittently able to extinguish when #3511 A/S cab door not fully closed and latched.Adjusted door sensing s/w plunger.DIR status check ok.Conducted pull test with cab door in closed position-no spurious DIR indication. Done by Arthur Sam. 10/1/22