Files received by SeIM are in the IFS as Stream Files.
The default directory of inbound files is /Eforward/recv2/

To list the files received for import into the DB there are two choices.

Choice 1:    (use any name for the database)
================================================================
create database GREG/DATALST with one 512 character column DATAF

DSPLNK OBJ('/Eforward/recv2/*') OUTPUT(*PRINT)
CPYSPLF FILE(QSYSPRT) TOFILE(GREG/DATALST)
SELECT * FROM GREG/DATALST
 --- read file names here from DATALST ----
DELETE FROM GREG/DATALST
DLTSPLF FILE(QSYSPRT)
================================================================


Choice 2:    (shows how to create setup)

first create a database as in choice 1

                              Programmer Menu
                                                             System:   S102TM5M
 Select one of the following:
      1. Start AS/400 Data File Utility
      2. Work with AS/400 Query
      3. Create an object from a source file     object name, type, pgm for CMD
      4. Call a program                          program name
      5. Run a command                           command
      6. Submit a job                            (job name), , ,(command)
      7. Go to a menu                            menu name
      8. Edit a source file member               (srcmbr), (type)
      9. Design display format using SDA         (srcmbr), ,(mode)
     90. Sign off                                (*nolist, *list)

 Selection . . . . .   8             Parm . . . .   LISTDIR
 Type  . . . . . . .   CLLE          Parm 2 . . .
 Command . . . . . .

 Source file . . . .   CORV          Source library . . . . . . .   GREG
 Object library  . .                 Job description  . . . . . .   *USRPRF

 F3=Exit        F4=Prompt            F6=Display messages   F10=Command entry
 F12=Cancel     F14=Work with submitted jobs               F18=Work with output

 Columns . . . :    1  71            Edit                             GREG/CORV
 SEU==>                                                                 LISTDIR
 FMT **  ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7
        *************** Beginning of data *************************************
0001.00 PGM
0002.00      SBMJOB CMD(JAVA CLASS(efclient.bin.UniqueName) +
0003.00                      PARM('-f/Eforward/recv2/*'     +
0004.00                           '-d/Eforward/logs/list')  +
0005.00                      CLASSPATH('/Eforward/java')    +
0006.00                      OPTIMIZE(*JIT)) CPYENVVAR(*YES)
0007.00      SBMJOB CMD(CPYFRMIMPF                          +
0008.00         FROMSTMF('/Eforward/logs/list')             +
0009.00         TOFILE(GREG/DATALST) RCDDLM(*LF)            +
0010.00         RPLNULLVAL(*FLDDFT)) CPYENVVAR(*YES)
0011.00      GOTO CMDLBL(ENDIT)
0012.00 ENDIT: ENDPGM
        ****************** End of data ****************************************




 F3=Exit   F4=Prompt   F5=Refresh   F9=Retrieve   F10=Cursor   F11=Toggle
 F16=Repeat find       F17=Repeat change          F24=More keys

                              Programmer Menu
                                                             System:   S102TM5M
 Select one of the following:
      1. Start AS/400 Data File Utility
      2. Work with AS/400 Query
      3. Create an object from a source file     object name, type, pgm for CMD
      4. Call a program                          program name
      5. Run a command                           command
      6. Submit a job                            (job name), , ,(command)
      7. Go to a menu                            menu name
      8. Edit a source file member               (srcmbr), (type)
      9. Design display format using SDA         (srcmbr), ,(mode)
     90. Sign off                                (*nolist, *list)

 Selection . . . . .   3             Parm . . . .   LISTDIR
 Type  . . . . . . .   CLP           Parm 2 . . .
 Command . . . . . .

 Source file . . . .   CORV          Source library . . . . . . .   GREG
 Object library  . .                 Job description  . . . . . .   *USRPRF

 F3=Exit        F4=Prompt            F6=Display messages   F10=Command entry
 F12=Cancel     F14=Work with submitted jobs               F18=Work with output
