Table of Contents
[ Up To Index ]
iView FTP Setup
iView FTP was introduced in release 4.0.
iView can be configured to ftp the document that it is about to archive, and optionally an exported text file of the index values of the document, to a remote host.
Basic Considerations
At the time of archiving, which is after sorting and bursting and after any specified iDocs merge, iView will initiate an FTP session with the specified host and transfer the archived document to the specified host and directory. Optionally it will export the index values for that document in a text file. The original document is then archived in iView.
This screen is F14 from the iView Archive Application Maintenance screen.
9/05/18 iView FTP Interface Definition IV1100D7 15:00:15 Add/Maintain FTP Target KKRAMER Application: ATPICKLIST Library. . : Server: User: Password: Directory: System Type: *UNIX, *AS400, *WINDOWS AS/400 Namefmt Type: 0, 1 Log Lib/File: / Log Level: *SUMMARY, *DETAIL, *NONE Job Queue: Export Index File: *YES *NO Sep. Char Include Field Name: Y/N FLD Separator: Y/N One Line per Field Y/N Include File Path: Y/N Post FTP Cmd: F3=Exit F10=Save F12=Cancel F24=Delete
- Server: DNS name or IP address of the remote target server.
- User: User name for ftp login.
- Password: Password of User on remote server.
- Directory: Directory into which to upload the file.
- System Type: O/S type of remote system.
- AS/400 Namefmt: 0 for the DB2/400 file system and 1 for the Integrated File System format.
- Log Lib/File: If logging specify a library and file name for a log file. This file must either be FTPLOG or a duplicate of it. If logging you must specify a log file and library.
- Log Level: Logging level. If *NONE the log file need not be entered. This logging is separate from iView engine logging, which is into the job log.
- Job Queue: System i job queue. If entered iView will submit to this job queue all of the ftp commands and the Post FTP Command specified below it. If not specified it will simply run these commands as part of the archive engine job stream.
- Export Index File: If *YES specified iView will create a text file containing the iView archive fields and their values for the document separated by a space, and will ftp this file to the same target with the archived document. The file name is the same as the archived document except that the file extension is .txt. This file is not retained on the System i.
- Post FTP Cmd: Optionally specify a command to execute upon completion of the ftp transactions. Remember that this job will have to manage its own library list.
FTP Log File
iView FTP logs into a file if logging is specified, by default FTPLOG. The file format is:
A R FTPLOGR A LPROCESSED 1A A LTIMESTAMP Z A LHOST 128A A LFILE 128A A LLOGDATA 200A
- LPROCESSED: A 1 character field that may be used to mark the record. iView does not by default do anything with this field.
- LTIMESTAMP: The System i timestamp of the logged message.
- LHOST: The remote host.
- LFILE: File in question.
- LLOGDATA: Logging data or message.
[ Up To Index ]