a XX.dat file generated with many field names, but how i can ignore certain field names while forming the template in output designer so that error is not generated like "Field 'XX' not found on subform/page '1'
You can't ignore "certain" field names but you can use the
parameter to "discard unknown fields" (
unknown fields). This can be hard coded as a parameter on the JFMERGE task or as a ^job parameter as long as the JFMERGE task includes the
In practice we find that this solution does not work. We always use -afxon on ^job commands and we always have @OtherJobTokens. in our JFMERGE lines, but our logs are clogged full of field not found errors.