question: for type diesel-mechanical and configuration b-b, what is the status?
answer: SELECT status FROM table_name_4 WHERE configuration = "b-b" AND type = "diesel-mechanical"
context: CREATE TABLE table_name_4 (status VARCHAR, configuration VARCHAR, type VARCHAR)