You can use one of the numeric test capabilities of the INCLUDE OMIT Numeric test statement to collect the records you want. You can use one of the numeric test capabilities of the INCLUDE OMIT Alphanumeric test statement to collect the records you want. You can use the INCLUDE OMIT Substring Comparison statement in conjunction with other options to select/omit the number of records to be processed.
Syntax: INCLUDE COND=(Field-1 starting position, Field-1 length, Field-1 format, Relational Operator, NUM)
INCLUDE COND=(18,4,FS,NE,NUM)
Here’s an INCLUDE statement that only includes records in which the Revenue field and Profit field have packed decimal numeric (that is, there is no invalid packed decimal values in these fields).
INCLUDE COND=(22,6,PD,EQ,NUM,AND,28,6,PD,EQ,NUM)
Let’s say we have a 4 bytes Employee ID which is supposed to be numeric but you want to find the invalid non-number in this field and you want to select the records with those values. Each byte of the 4-byte Employees field should contain ‘0’ through ‘9’; you would consider any other character, such as ‘A’ or ‘.’ to be invalid.
INCLUDE COND=(18,4,FS,NE,NUM)
Testing for alphanumeric or non-alphanumeric is similar to testing for numeric or non-numeric. Use BI for the format. Use EQ to test for alphanumeric or NE to test for non-alphanumeric. Instead of NUM, use one of the following corresponding to the set of alphanumeric characters you need:
Syntax:: INCLUDE COND=(Field-1 starting position, Field-1 length, Field-1 format, Relational Operator, Alphanumeric Character)
Here is an INCLUDE statement that only includes records that have uppercase or numeric characters in positions 11 to 15:
INCLUDE COND=(11,5,BI,EQ,UN)
If every position from 11 to 15 in a record has A-Z or 0-9, that record is included. If any position from 11 to 15 in a record does not have A-Z or 0-9, that record is not included. So a record with ‘B03RS’ in 11 to 15 would be included, whereas records with ‘B03rS’ or ‘B,ABC’ would not be included.
Here is an INCLUDE statement that removes any record that has only A-Z or a-z in positions 1 to 8:
INCLUDE COND=(1,8,BI,NE,MC)
So a record with ‘RsTUVxyz’ in 1-8 would not be included, whereas a record with ‘Rs$UVxyz’ in 1-8 would be included.
A well-maintained product backlog is crucial for successful product development. It serves as a single…
Incremental value to the customer refers to the gradual delivery of small, functional parts of…
A Product Market refers to the group of potential customers who might be interested in…
The Professional Agile Leadership - Evidence-Based Management (PAL-EBM) certification offered by Scrum.org is designed for…
The Professional Agile Leadership (PAL I) certification, offered by Scrum.org, is designed to equip leaders…
Choosing the right Scrum Master Certification depends on your current experience and career goals. If…