Call DSLogWarn (Message, CallingProgName)
Message (input) is the warning message you want to log. Message is automatically prefixed with the name of the current stage and the calling before/after subroutine.
CallingProgName (input) is the name of the before/after subroutine that calls the DSLogWarn subroutine.
DSLogWarn writes the message to the job log file as a warning and returns to the calling before/after subroutine. If the job has a warning limit defined for it, when the number of warnings reaches that limit, the call does not return and the job is aborted.
DSLogWarn should not be used in a transform. Use DSTransformError instead.