Importing DPX file

Prev Next

To add Digipass data from the DPX file to the database

  1. On the host, pre-allocate a temporary host SEQUENTIAL dataset, i.e. DIGIPASS.DPXFILE, with the following DCB attributes:

    RECFM=VB, LRECL=1028, DSORG=PS

  2. Use any file transfer (IND$FILE or FTP) to transfer the DPX file to the temporary host dataset, requesting ASCII/EBCDIC and CR/LF conversion.
  3. From the BATCH program that will call the AAL2DPXInit API, allocate the dataset in a JCL DD statement like the following:

    //DPXFILE DD DSN=DIGIPASS.DPXFILE,DISP=SHR

    and indicate that DDNAME to the API using the string DD:DPXFILE in the pFileName argument.

The DPX import function should not be run from a CICS application because it directly opens the DPXFILE DD.