Table of Contents
[ Up To Index ]
iView 8 IBMi (back end) Usage
Menu IVIEW:
IVIEW iView Version 8.44 02.20.18 System: DEVV6CLT iView Archive Applications 1. Work with iView Applications WRKIVWAPP 2. Work with iView Processing Log CALL IVRELOG iView Server 10. Work with iView Servers WRKIVWSRV Administrative Options 20. Work with Administrative Menu GO IVIEWADM Bottom Selection F1=Help F3=Exit F12=Cancel
Menu IVIEW, option 1: Archive Configuration
This display is used to add or change an archive definition.
9/04/18 iView IV1000C1 17:50:48 iView Archive Application KKRAMER Type options, press Enter. 1=Select 3=Copy 4=Delete 7=Rename 8=Clone Archive Structure 15=Archive Spool File Position to Name Target iDocs Last Monitor Opt Application Description Format Application Field Event ATPICKLIST AllTrade Pick List *PDF INDEX04 AWINVOICE Adel Wiggins In-bound Inv *PDF INDEX07 AWTEST Adel Wiggins Test *PDF INDEX03 BOYDCHECK Boyd Gaming A/P Checks *PDF BOYD805 INDEX05 BOYDTABLE Boyd Example Table *PDF INDEX04 BOYDTOFLOW Boyd Gaming A/P Checks *TIFF BOYD805 INDEX05 BROCKAPIVW BROCKAP Check *PDF BROCKAP INDEX08 CARBSTMT Seprod Statement *PDF CARB STMT INDEX03 CJCINVOICE Invoices incoming for A/P *PDF INDEX09 DCYJOBLOG Test Archive JobLog *PDF INDEX06 DCYTEST DCY Testing *PDF *INDEX01 INDEX01 More... F3=Exit F5=Refresh F6=AddIf the metadata file is being monitored, you will see an indicator at Archive list screen:
- I: monitor for Inserting event
- U: monitoring for Updating event
- D: monitoring for Deleting event
Select an iView Archive Application with option 1:
9/04/18 iView IV1000C3 18:00:57 iView Archive Application KKRAMER Application. . : ATPICKLIST Description: AllTrade Pick List Library. . . . : IVIEW7 Directory. : /iview PDF Output Name: *NAME-*DATE-*TIME Disposition Opt. *ORIGINAL Table Import N Y/N Allow Null Value N Y/N Processing Opt.: *SYSTEM iDocs App. : Storage Format : *PDF Product. . . . : Printing Queue (Signature) *LIBL iWorkflow Data Queue . . : *LIBL Index Field From To So Bu- Sig No. Pgs Ty Seq# Field Description Row Col Row Col rt rst Tag Page# Indexed pe Upd 0010 INDEX01 Name 1 1 1 35 0 N N *FIRST A N 0020 INDEX02 Warehouse Number 1 1 1 15 0 N N *FIRST A N 0030 INDEX03 Date 1 1 1 10 0 N N *FIRST A N 0040 INDEX04 FORMID 1 1 1 25 0 N N *FIRST A N 0050 0 N *FIRST A N 0060 0 N *FIRST A N 0070 0 N *FIRST A N 0080 0 N *FIRST A N More... F3=Exit F8=Metadata Monitor F10=Save F11=Alt View F12=Cancel F14=FTP Definition F18=Signature Output Routing
Archive Options
- Application Name: Use 10 characters alphanumeric. Embedded blanks are not recommended.
- Description: Enter a recognizable description to identify this application.
- Library: This is the library in which the meta data file is stored and is a global setting stored in data area DSIVIEWLIB.
- Directory: This is the root of the iView IFS archives. It is a global setting stored in data area DSIVIEWDIR.
- PDF Output Name: Specify the file system object name of the archived document using constants and these keywords:
*NAME | The archive name |
*DATE | Processing date in format YYMMDD |
*TIME | Processing time in format HHMMSS |
*INDEX01 to *INDEX20 | Contents of meta data fields |
- Disposition Options: This controls the fate of the original spool file:
*RETAIN Retain in Output queue *ORIGINAL Archive Original *SYSTEM Archive Post Processing *NONE Do Not Archive
- Table Import: Controls use of tables when importing from prior implementations of iScan. This field is not used with current software and should be set to N.
- Allow Null Value: Y/N
- Processing Options: Process spool file under the iView user profile or under the profile of the spool file owner. This will impact what profile owns the spool file post-processing.
*SYSTEM Use iView System Profile *SPLFOWNER Use Splf Owner Profile
- iDocs Application: If you want the spool file processed through iDocs before archiving specify the application here. If specified what is archived is a laser document, else it is a pdf document made from the text spool file.
- Storage Format: Specify the document type of the file. *PDF is the usual selection due to ease of use with a browser. PDF is also the front end default and any other selection may require front end configuration changes. The use of *PDFSIG enables signature capture in the archive.
*PDF *USERASCII PDF Conversion *PDFSIG PDF Convert for Signature *TIFF Tiff Image
- Product: Specify IDOCS to create a laser document using the iDocs Suite. Otherwise leave blank. This field is used for integrations with other document products.
- Printing Queue (Signature) Printing queue and queue library are specified to hold the output from the print option in signature capture. This is unconditional. Multiple and conditional print output from Signature Capture can also be configured using F18.
Meta Data Fields
The meta data fields are defined by their position in a *SCS spool file.
Seq#: You can change the order of the columns of the meta data table by keying a different sequence number
and pressing <enter>.
Sorting is specified as it is in iDocs:
1 Primary Sort Ascending 2 Primary Sort Descending 3 Secondary Sort Ascending 4 Secondary Sort Descending 5 Third Sort Ascending 6 Third Sort Descending 7 Forth Sort Ascending 8 Forth Sort Descending 9 Fifth Sort Ascending
Since this is text against which users will search in a browser, the normal practice
is to define short, one line text fields as meta data. Fields such as customer name, customer number, etc.
You can define text blocks as meta data but the searching dynamics should be considered.
Meta data is stored in the meta data file, having the same name as the archive application, in the iView library.
Bursting works as it does in iDocs and as one would intuitively expect.
Sigtag: Specify a Y to display this field on the Signature Capture search dialog. You should define at least one field as sigtag for a Signature Capture application ( see Storage Format above ).
Page#: Use keywords *FIRST, *LAST, *ALL, or a specific page number to specify from which page the meta data
value is scraped.
No. Pgs Indexed: Key the number of pages from which spool text is scraped and concatenated to form the
meta data for the meta data field. Left blank, 1 page is scraped unless *ALL pages is specified.
Type: Specify blank or A for an alpha string. Specify D for a date field. If a date field, use F11 to enter a date format. The format specified should match the format in the spool file – i.e. tell iView how to parse the spool file date.
Since this is text against which users will search in a browser, the normal practice
is to define short, one line text fields as meta data. Fields such as customer name, customer number, etc.
You can define text blocks as meta data but the searching dynamics should be considered.
Meta data is stored in the meta data file, having the same name as the archive application, in the iView library.
F8=Metadata Monitor (V8.45):
Monitor archive data changes (STRIVMONAR) Type choices, press Enter. iView archive name . . . . . . . > ATPICKLIST Name Event Type . . . . . . . . . . . *NONE, *ALL, *INSERT... + for more values Message text (*INDEXxx) . . . . To User Profile . . . . . . . . Name + for more values Message type . . . . . . . . . . *INFO *INFO To Data Queue . . . . . . . . . Name Library . . . . . . . . . . . *CURLIB Name, *CURLIB, *LIBL To Email Address (*INDEXxx) . . + for more values More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
Monitor archive data changes (STRIVMONAR) Type choices, press Enter. Mail Subject (*INDEXxx) . . . . iMail Job Queue . . . . . . . . FMGJOBQ Name Library . . . . . . . . . . . *LIBL Character value, *LIBL iMail Library Name . . . . . . . > IDOCS6 Character value Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
F11=Alt View:
9/04/18 iView IV1000C3 18:07:58 iView Archive Application KKRAMER Application. . : ATPICKLIST Description: Library. . . . : IVIEW7 Directory. : /iview PDF Output Name: *NAME-*DATE-*TIME Disposition Opt. *ORIGINAL Table Import N Y/N Allow Null Value N Y/N Processing Opt.: *SYSTEM iDocs App. : Storage Format : *PDF Product. . . . : Printing Queue (Signature) *LIBL Index Field - - - - - Data Source - - - - - Seq# Field Description Library File Field Date Format 0010 INDEX01 Name 0020 INDEX02 Warehouse Number 0030 INDEX03 Date 0040 INDEX04 FORMID 0050 0060 0070 0080 More... F3=Exit F8=Metadata Monitor F10=Save F11=Alt View F12=Cancel F14=FTP Definition F18=Signature Output RoutingThis display is used to add or change an archive definition, although one can not
change the meta data fields after the archive is created.
F14=FTP Definition:
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.
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.
9/04/18 iView FTP Interface Definition IV1100D7 18:11:54 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.
F18=Signature Output Routing:
9/04/18 iView IV9940C1 18:15:23 Signature Output Routing KKRAMER iView Application: ATPICKLIST AllTrade Pick List Queue Name Library Idx Fld OP Value Condition: Condition: Condition: Condition: Condition: Condition: Condition: Condition: Condition: Condition: Condition: Condition: Condition: Condition: More... F3=Exit F4=Prompt F10=Save F12=Cancel
Menu IVIEW, option 2:
Work with iView Processing Log
9/04/18 iView IVELOGC1 18:58:36 iView Engine Processing Log KKRAMER Type options, press Enter. 1=Detail 4=Delete 5=Work Job 6=Reprocess ---Spool File---- Opt Name Number Engine Date Time Sts Message TESTPCL 243 IVIEWSEVER 09/13/17 12:05:44 ERR Spool file type *USERASC TESTPCL 242 IVIEWSEVER 09/13/17 12:05:29 ERR Spool file type *USERASC TESTPCL 241 IVIEWSEVER 09/13/17 11:21:55 ERR Spool file type *USERASC TESTPCL 240 IVIEWSEVER 09/13/17 10:58:11 ERR Spool file type *USERASC TESTPCL 239 IVIEWSEVER 09/13/17 10:48:11 ERR Spool file type *USERASC TESTPCL 238 IVIEWSEVER 09/13/17 10:31:38 ERR Spool file type *USERASC TESTPCL 237 IVIEWSEVER 09/13/17 10:31:23 ERR Spool file type *USERASC TESTPCL 236 IVIEWSEVER 09/13/17 10:06:57 ERR Spool file type *USERASC CONVERTPCL 235 IVIEWSEVER 09/13/17 10:02:26 ERR Spool file type *USERASC CONVERTPCL 234 IVIEWSEVER 09/13/17 10:01:52 ERR Spool file type *USERASC TESTPCL 233 IVIEWSEVER 09/13/17 09:57:56 ERR Spool file type *USERASC TESTPCL 232 IVIEWSEVER 09/13/17 09:44:11 ERR Spool file type *USERASC CONVERTPCL 231 IVIEWSEVER 09/13/17 09:37:30 ERR Spool file type *USERASC More... F3=Exit F5=Refresh F7=Search F8=Purge
- 1: Details
- 4: Delete
- 5: Work With
- 6: Reprocess
Menu IVIEW, option 10:iView Servers (Engines)
iView servers are defined from menu IVIEW, option 10.
iView engines are architected similarly to iDocs engines in that they are single threaded, and you can define and run an unlimited number of them in any subsystem.
- 1: Select
- 2: Copy
- 4: Delete
- 7: Rename
- 8: Start Server
- 9: End Server
8/30/18 iView IV2000C1 10:38:24 Engine Maintenance KKRAMER Type options, press Enter. 1=Select 3=Copy 4=Delete 7=Rename 8=Start 9=End Position to Name Opt Engine Description --- Archive Queue --- Status BOYDIVWENG Boyd Check iView Engine ARCHIVIEW OFERRER BROCKAPSVR BROCKAP iView Engine BROCK *SAME CARBSTMTEN Seprod Engine SEPROD QASPLFL CDATEST CDA Test ARCHIVE IDOCS6 DCYIVWSRV DCY iView Server OUTQARC DCYQC DEMOENGINE Demo Engine ARCHIVE *SAME DENSOIVENG Denso-Diam iView Engine ARCHIVIEW OFERRER GRABBERENG Grabber Form ANGUYEN QGPL HOPINVENG Hops Invoice Engine ARCHIVE OFERRER IVIEWSEVER Testing iView Server *LIBL IVIEWSEVE2 Testing iView Server IVWARCH *SAME IVIEWSRV1 Testing iView Server GRABBER *SAME More... F3=Exit F5=Refresh F6=AddSelect the appropriate engine with option 1:
8/30/18 iView IV2000C2 10:39:58 Engine Maintenance KKRAMER Edit Engine . . . . . . . . . : BOYDIVWENG Boyd Check iView Engine Spool File Endpoint . . . . . : OFERRER / ARCHIVIEW Name Data Queue. . . . . . . . . . : QUSRSYS / BOYDIVWDTQ Engine processing log : N Y/N Process SPLF in Separate Job: N Y/N Job Queue / Library: / *LIBL Job Priority: *JOBD AND ----- Originating ----- Spool Spool Archive OR Library Queue Name Attribute Value Application OFERRER ARCHIVE2 *SPLFILE AP290A# BOYDCHECK More... F3=Exit F10=Save F12=Cancel
- Archive Original Spool File To: This is the endpoint for the original spool file.
- Data Queue: Provide a name and library for the engine's data queue. This must be unique. The engine will create it if it is not present at engine startup. A dataqueue is a filesystem object.
- Originating Outqueue and Library: This is the monitored outqueue. Note that you can not have multiple dataqueue engines monitoring one outqueue.
- Spool Attribute: Specify the external spool file attribute to test to recognize the spool file and select the correct archive application. Specify one of:
*FORM | Original Spool Form Type |
*USRPRF | User Profile of Spool |
*JOBNAME | Job Name of the Spool |
*SPLFILE | Print File Name |
*USRDTA | User data Value in Spool |
* Spool Value: Specify the specific value to test the selected external spool file attribute against.
- Archive Application: Prompt for and select the archive application to process the spool file for which the specified external spool file attribute matches the provided value.
You can have an unlimited number of engines in iView. You may define up to 9,999 engines in this dialog.
Use option 8 and 9 to start and stop the engines:
Start iView Server (STRIVWSRV) Type choices, press Enter. iView Server Name . . . . . . . > IVIEWSEVER Value, or F4 for list User . . . . . . . . . . . . . . *CURRENT Name, IVIEW, *CURRENT Job queue . . . . . . . . . . . *JOBD Name, *JOBD Save job log . . . . . . . . . . *NO *YES, *NO Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
- User: user profile to run the engine. This profile must have *JOBCTL and *SPLCTL authority, and if it is running iDocs merges must also have a profile define in the system directory.
- Job Queue: Job queue to which the engine is submitted. This can be any queue leading to a batch subsystem.
- Save Job Log: If you want the log saved, enter *YES. In normal production this would not be necessary.
Menu IVIEWADM:
IVIEWADM iView Administrative Menu System: DEVV6CLT Configuration Options 8. Change iView Library & IFS Path CHGIVWLIB Maintenance Options 10. Purge iView Indices PRGIVWIDX Registration Options 20. Work with iView Keys REGISTER 90. Signoff SIGNOFF Bottom Selection F1=Help F3=Exit F12=Cancel © Copyright 1994-2007 inFORM Decisions,Inc. All Rights Reserved .
Menu IVIEWADM, option 8:
Use option 8 to set the iView location and path. Set the parameters as appropriate to your installation or upgrade and press <enter> to update. These values are stored in the data areas DSIVIEWLIB (for iView Library) and DSIVIEWDIR (for iView IFS Path).
Change iView Library & IFS Dir (CHGIVWLIB) Type choices, press Enter. iView Library . . . . . . . . . *SAME Character value iView IFS path . . . . . . . . . *SAME Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
Menu IVIEWADM, option 10:
Purge iView Indices
Purge iView Index (PRGIVWIDX) Type choices, press Enter. Archive Application . . . . . . Value, or F4 for list Purge Older/Newer MM/DD/YYYY . . 000000 Date Purge Indices Older/Newer Days 0 Number Older/Newer Compare . . . . . . *OLDER *OLDER, *NEWER Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
Menu IVIEWADM, option 20:
Take option 20, then press enter to enter the permanent or temporary license provided by your account manager. iView should have 3 key components: IVIEWWEB, IVIEW1, IVIEW2. Once entered, iView is now ready to use.
8/30/18 inFORM Decisions FM0070R1 14:02:21 iDocs Installation Library Set KKRAMER System Information Serial Number: 102A36R LPAR: 2 OS/400 Release: V6R1M0 iDocs Production Information Product version . . . . . : iDocs Installation Library: FMG Name, F4 for list Location settings Country Code . . . . . . .: US Code Page. . . . . . . . .: 37 1-65535 Press enter to continue F3=Exit F4=Prompt F12=CancelPress <Enter> and then F6 to add the 3 iView License keys:
8/30/18 inFORM Decisions IMREGPS2 14:06:42 Module Registration Screen KKRAMER Module Name. . . Registration Code Status . . . . . No license found for F3=Exit F10=Update F12=Previous
[ Up To Index ]