--- title: "Importing DPX file" slug: "a3s-cppprg-zos-importing-dpx-file-4-0" updated: 2026-11-11T09:44:50Z published: 2026-11-11T09:44:50Z canonical: "docs.onespan.com/a3s-cppprg-zos-importing-dpx-file-4-0" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Importing DPX file 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.