Customer Portal

Combine Header File with Data File

Comments 1

  • Avatar
    Pedro Vazquez Rosario
    0
    Comment actions Permalink
    Hi,

    I would recommend using a Jobflow with two ExecuteGraphs (one for the creation of the metadata, and one to extract the data based on it) to accomplish your use case. I have taken the liberty of creating a example of this based on the data you sent me. The following is whats included in the zip folder:

    • metadata_writer.grf - Will create dynamic metadata based on any header file using the XMLWriter and saving it to a predefined Parameter value, which you can read more about here(from the data in your header file, I would recommend that you set the max number of records property to 1

    • flatfile.grf - Will extract the data using the dynamic metadata

    • metadata.jbf - Will have both ExecuteGraphs (you only need to run the Jobflow)

Please sign in to leave a comment.