Defining Input File Sequence Check Information - Code-1_Plus - 5.0

CODE-1 Plus Guide for IBM i

Product type
Software
Portfolio
Verify
Product family
Data Quality - Postals
Product
CODE-1 Plus
Version
5.0
Language
English
Product name
CODE-1 Plus
Title
CODE-1 Plus Guide for IBM i
Copyright
2024
First publish date
1998
ft:lastEdition
2024-05-15
ft:lastPublication
2024-05-15T00:03:43.588945

Use the Input File Sequence Check Information screen (C1CPID70) to specify up to nine fields on the input record to check the sequence of your input file. CODE-1 Plus indicates sequence errors on the Execution Log. If a record is bypassed, it does not affect the Control Totals report.

Note: iThe total length of all the sequence field lengths cannot exceed 255 bytes.

To access the Input File Sequence Check Information screen:

  1. From the Name/Address File Layout, page down to the Input File Sequence Check Information screen.

  2. Use the following table to complete the fields on the Input File Sequence Check Information screen.

    Field

    Description

    Sequence error treatment

    Optional. Code indicating the action CODE-1 Plus should take when a sequence error is encountered in the input file. Enter one of the following codes:

    • B — (Bypass) Bypass the offending record and continue sequence checking.

    • C — (Continue) Continue processing the offending record and continue sequence checking.

    • E — End of file) Bypass the offending record, and then gracefully end the process as if the input file had reached an end-of-file.

    • I — (Ignore) Continue processing the offending record, but abandon any further sequence checking.

    • blank — Default is B.

    NOTE:  If there is a sequence error, it is indicated in the Execution Log. If a record is bypassed, it does not affect the Control Totals report.

    Sequence field 1 through Sequence field 9

    Position

    Optional. Enter a number from 1-9999 to specify the location of the field segment containing the data to be checked for an input file sequence error. No default.

    Length

    Optional. Enter a number from 1-99 to specify the length of the field segment. The total number of field segments cannot exceed 255 bytes. If the field segment is packed ("P" in previous field), the field length cannot exceed 9. No default.

    Packed

    Code indicating whether or not field segment is in a packed format that should be unpacked before checking the sequence:

    • P — Field segment is packed.

    • Blank — Field segment is not packed.