It is not possible to parse this data using flatfile schema. Use substring or some other custom service to separate the actual data, and use this data while parsing.
i used substring to seperate the data but now having server service exception while writing the data,i did give the directory path in the psutilities config file.
Assuming your record defintions in the FF schema will not match the first several lines in the file you can use the skipToFirstRecord parameter of pub.flatFile:convertToValues to ignore the header lines.
I tried to use skipToFirstRecord parameter by setting to ‘true’. But the initial data matches with the record definition as they are just characters separated by spaces and it is getting parsed.
Also, skipToFirstRecord defaults to true and i think explicitly setting this variable is not required.
Can you guide me how to use this parameter skipToFirstRecord in pub.flatFile:convertToValues service to solve.
For skipToFirstRecord to work, the schema cannot use a default record type (I think) and the lines leading up to the first record cannot match any record type. If you’re not using a record identifier then skipToFirstRecord probably will not work for that file.