A better process in the external; file template is to use the external file template control where you can skip or satisfy such that IFS only considers true data.
Per your example - you can have a control rule where IFS would skip records when the first column has a value line type. It needs an exact match meaning pay attention to case. Several samples exist see the STDSIN2 template.
In cloud see the external file template (details) then the input tab and see the option for external file template control. In this example only records where the first column (1) has a control string of A (value = A) will be loaded as this is a satisfy. If that was a skip condition, then all rows with an A in the first column would be skipped. Like a header.
Depending on the use case, I use the skip record process on nearly every template.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.