KB Article #178893

File transfer exit returns an inconsistent structure

Problem

Want to gather 15 parameters from an exit during the OPEN FILE phase.


Exit is based on the C language sample program delivered with the product.


structure CTX filled by the exit seems being inconsistent?


fname in place of idtu, idf, fdate and other fields are blank.



Resolution

The exit is called during the OPEN as expected but the structure passed to the program is from the older V23 format.

The .h used in the exit is for the data structure is for the V24 format.


Change the FORMAT parameter of the CFTEXIT macro to V24 (instead of V23)