EXPDTA, EXPSPL and IMPDTA log files

FAQs and general information.
Support
Site Admin
Posts: 390
Joined: 03/12/04 02:12:52 PM

EXPDTA, EXPSPL and IMPDTA log files

Postby Support » 10/17/11 04:07:10 PM

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)

Return to “Surveyor/400”

Who is online

Users browsing this forum: GalenEvop and 5 guests

cron