If you need the whole input file put to error when there is an invalid initiator you can use ISERROR(Input) | CONTAINSERRORS(Input) to check for and create your error file or your good input. So in your card creating the good input use IF(NOT(ISERROR(Input)) | NOT(CONTAINSERRORS(Input)), f_build_good_stuff(Input), NONE) then create an error output card and use IF(ISERROR(Input) | CONTAINSERRORS(Input), PACKAGE(Input), NONE) and have the cards set to CreateOnContent. That way you get no good stuff and you can send the bad stuff to a error directory of your choosing.
If you can reject partial transactions within the file - ex. keep/create good and throw out bad, then use REJECT as Steve suggests.
Happy Mapping!