A Java log is produced that reports the results of the transfer as well as any errors that occur.
If any of these commands are run interactively, a log will appear on the screen via the Java Console.
When submitted to batch, a spooled file is created. The name depends on which command is used. EXPORT_LOG (EXPDTA), EXPSPL_LOG (EXPSPL), IMPORT_LOG (IMPDTA). Using the WRKJOB command to help locate the spooled file log.
The log may be turned off by using OUTPUT(*NONE).
Or may be redirected to the IFS.
The below example writes a continuous log to an IFS file.
SURVEYOR/EXPDTA INFILE(SURVEYOR/DEMO) TYPEOFEXP(*EXCEL) IFSDEST('/linoma/demo.xls') REDIRLOC(*IFS) IFSLOGLOC('/linoma/error.log') LAPPEND(*APPEND)