In 4 simple steps we will import IFS data into EXTOL EDI Integrator. This process is very handy when the data is not received via VAN; ie. Email.
In our example below, we will FTP data to the iSeries and place it into the IFS directory. Once the data is in the IFS directory we will use CMD: CPYFRMSTMF and CMD: CRTCNNIMP to place the data into the EXTOL Mailroom, as a Mailroom Connection.
FTP Data to iSeries’ IFS Directory
CRTPF FILE(QTEMP/TEMP) RCDLEN(1024)
CPYFRMSTMF tombr(’/qsys.lib/qtemp.lib/temp.file/temp.mbr’) fromstmf(’/extol/raw.txt’) MBROPT(*REPLACE) ENDLINFMT(*FIXED) TABEXPN(*NO)
Note: you will have to modify the fromstmf parm
CRTCNNIMP FILE(QTEMP/TEMP) FORMAT(*UNWRAP) NETID(LOWES850).
FORMAT(*UNWRAP) – Many times the data we import into EXTOL will be unwrapped (1 record per segment). If this is the case we want to specify *UNWRAP.
NETID(LOWES850) - optional - This is a cool trick to allow users to quickly identify data in the mailroom. Let’s say the data is for Lowes850, we would use NETID(LOWES850). When we go into the EXTOL Connections screen we would see LOWES850 under the Network Column.
By: Sean Hoppe on