If a profile for a conversion exists, you can invoke the Data File Converter to do the conversion using the following interface:
call dfconv using dfconv-params
01 dfconv-params PIC X(195).
If you specify file names in the parameter fields as well as in the profile file, those in the parameter fields take precedence.
On return from the Data File Converter, RETURN-CODE is set to non-zero if an error occurred, and the error number is returned in the first two characters of dfconv-params.
The Data File Converter can be called from a non-COBOL program using an entry point DFCONVC, provided within the Data File Converter .dll. The dfconv-params parameters are space terminated as for the COBOL call but the parameter list is NULL terminated.