You are here: Job and Form Set Rules Reference > JDT Rules Reference > ImportXMLFile > Using the GVM Option

Using the GVM Option

This example imports data from a XML file based on file name contained in the GVM variable called Import_File. Using this file, the GenData program creates the recipient batch, NA, POL, and NewTrn files needed for GenPrint and GenArc processing.

Any valid GVM variable can be used no matter how it is created or assigned.

This example creates the GVM variable, ImportXMLFile_GVM, by including this INI option and adding its definition to the TRNDFDFL.DFD file:

< GentrnDummyFields >

ImportXMLFile_GVM = .\export\F_GVM.xml

Here is an excerpt from a sample AFGJOB.JDT file:

< Base Rules >

;RULStandardJobProc;;;

< Base Form Set Rules >

;NoGenTrnTransactionProc;;;

;BuildFormList;;;

;ImportXMLFile;;GVM=ImportXMLFile_GVM;