Add EWC Barcode Entry (ADDEWCBCDE)

The Add Extended Wireless Controller Bar Code Entry (ADDEWCBCDE) command adds a set of bar code group parameters to an extended wireless controller source file member. The bar code group defines the parameters for scanning a particular bar code label. The Portable Transaction Computer (PTC) group specifies the bar code groups that are used to configure the bar code scanner.

Restriction: If the values specified for the INZFILE and INZMBR parameters of this command do not match the values specified for the corresponding parameters of the wireless controller description, extended wireless controller configuration data will not be downloaded to the wireless adapter.

Restriction: To execute this command, the user profile requires *IOSYSCFG special authority.

Note: You can use the Change Controller Description (Local Work Station) (CHGCTLLWS) command to view or change values specified for the INZFILE and INZMBR parameters in the wireless controller description.

Parameters

Keyword Description Choices Notes
BCDGRP Barcode group Name Required, Positional 1
INZMBR Initialization source member Name Required, Positional 2
INZFILE Initialization source file Qualified object name Optional, Positional 3
Qualifier 1: Initialization source file Name, QEWCSRC
Qualifier 2: Library Name, *LIBL, *CURLIB
BCDTYPE Barcode type *UPC, *EAN, *PLESSEY, *ALPHAPLESSEY, *ISBNPLESSEY, *PUREPLESSEY, *SAINPLESSEY, *UPCA, *UPCE, *EAN8, *EAN13, *CODABAR, *CODE3OF9, *CODE2OF5, *DISCR2OF5, *INTERL2OF5, *INDUST2OF5, *CODE11, *CODE128, *CODE93 Optional
LBLLEN Label length 0-64, 0 Optional
CHK1DIGIT First check digit *NO, *YES Optional
CHK2DIGIT Second check digit *NO, *YES Optional
ALLZERO All zeros *NO, *YES Optional
ALPHADSP Alpha display *NO, *YES Optional
ADDON2 Add on 2 *NO, *YES Optional
ADDON5 Add on 5 *NO, *YES Optional
SYS1UPCE System 1 UPC-E *NO, *YES Optional
SYS0UPCE System 0 UPC-E *NO, *YES Optional
UPCE UPC-E *NO, *YES Optional
EAN13 EAN 13 *NO, *YES Optional
EXT3OF9 Extended Character Set *NO, *YES Optional
ADDON Add on *BIDIRECTIONAL, *FORWARD Optional
DROPBEGIN Drop begin 0-64, 0 Optional
DROPEND Drop end 0-64, 0 Optional
TEXT Text 'description' Character value, *BLANK Optional

Barcode group (BCDGRP)

Specifies the bar code group name to be added. This name is used to identify configuration data related to a bar code group. If the bar code group name has been previously added, this command will fail. The bar code group name is a unique alphanumeric character string of as many as 16 characters in length.

Initialization source member (INZMBR)

Specifies the extended wireless controller source file member to add the bar code entry to. The bar code configuration data is added to this member.

Initialization source file (INZFILE)

Specifies the name of the source physical file that contains the extended wireless controller source file member. If the source physical file does not exist, this command will fail.

The name of the source file can be qualified by one of the following library values:

*LIBL
All libraries in the job's library list are searched until the first match is found.
*CURLIB
The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
library-name
Specify the name of the library to be searched.

The possible values are:

QEWCSRC
The source file name QEWCSRC is used.
source-file-name
Specify the name of the physical file that contains the source member.

Barcode type (BCDTYPE)

Specifies the bar code type defined by this bar code group.

The possible values are:

*UPC
UPC bar codes are used.
*EAN
EAN bar codes are used.
*PLESSEY
Plessey bar codes are used.
*ALPHAPLESSEY
Alpha Plessey bar codes are used.
*ISBNPLESSEY
ISBN Plessey bar codes are used.
*PUREPLESSEY
Pure Plessey bar codes are used.
*SAINPLESSEY
Sainsbury Plessey bar codes are used.
*UPCA
UPC-A bar codes are used.
*UPCE
UPC-E bar codes are used.
*EAN8
EAN-8 bar codes are used.
*EAN13
EAN-13 bar codes are used.
*CODABAR
CODABAR bar codes are used.
*CODE3OF9
CODE 3 of 9 bar codes are used.
*CODE2OF5
CODE 2 of 5 bar codes are used.
*DISCR2OF5
Discrete 2 of 5 bar codes are used.
*INTERL2OF5
Interleaved 2 of 5 bar codes are used.
*INDUST2OF5
Industrial 2 of 5 bar codes are used.
*CODE11
CODE 11 bar codes are used.
*CODE128
CODE 128 bar codes are used.
*CODE93
CODE 93 bar codes are used.

Label length (LBLLEN)

Specifies the label length of a bar code label for the specified bar code group.

The possible values are:

00
The label length is variable from 1 to 64.
label-length
Specify the character length of a bar code label for the bar code group. If the label length is 00 then label length is variable from 1 to 64. The valid range of values is from 0 through 64.

First check digit (CHK1DIGIT)

Specifies whether the check digit or the first check digit are checked on the bar code label. This is valid only when *PLESSEY, *CODE3OF9, *EXTCODE3OF9, *CODE11, or *CODE2OF5 are specified by the BCDTYPE parameter.

The possible values are:

*NO
The check digit or the first check digit are ignored.
*YES
The check digit or the first check digit are checked for a valid read.

Second check digit (CHK2DIGIT)

Specifies whether the second check digit is checked on the bar code label. This is valid only when *PLESSEY or *CODE11 are specified by the BCDTYPE parameter.

The possible values are:

*NO
The second check digit is ignored.
*YES
The second check digit is checked for a valid read.

All zeros (ALLZERO)

Specifies whether a bar code label of all 0's is a valid scan. This is valid only when BCDTYPE(*PLESSEY) is specified.

The possible values are:

*NO
A bar code label of all 0's is not a valid scan.
*YES
A bar code label of all 0's is a valid scan.

Alpha display (ALPHADSP)

Specifies whether to display bar code label characters : ; < = > and ? as the alphabetic characters A, B, C, D, E and F, respectively. This is valid only when BCDTYPE(*PLESSEY) is specified.

The possible values are:

*NO
Display the characters normally.
*YES
Display the characters as alphabetic characters.

Add on 2 (ADDON2)

Specifies whether a 2-digit add on is valid or ignored. This is valid only when *UPC or *EAN are specified by the BCDTYPE parameter.

The possible values are:

*NO
A 2-digit add on is ignored.
*YES
A 2-digit add on is valid.

Add on 5 (ADDON5)

Specifies whether a 5-digit add on is valid or ignored. This is valid only when *UPC or *EAN are specified by the BCDTYPE parameter.

The possible values are:

*NO
A 5-digit add on is ignored.
*YES
A 5-digit add on is valid.

System 1 UPC-E (SYS1UPCE)

Specifies whether a System 1 UPC-E is valid or ignored. This is valid only when *UPC or *EAN are specified by the BCDTYPE parameter.

The possible values are:

*NO
A System 1 UPC-E is ignored.
*YES
A System 1 UPC-E is valid.

System 0 UPC-E (SYS0UPCE)

Specifies whether a System 0 UPC-E is valid or ignored. This is valid only when *UPC or *EAN are specified by the BCDTYPE parameter.

The possible values are:

*NO
A System 0 UPC-E is ignored.
*YES
A System 0 UPC-E is valid.

UPC-E (UPCE)

Specifies whether a UPC-E should be expanded to UPC-A. This is valid only when *UPC or *EAN are specified by the BCDTYPE parameter.

The possible values are:

*NO
UPC-E bar codes are unaffected.
*YES
UPC-E bar codes are expanded to UPC-A.

EAN 13 (EAN13)

Specifies whether UPC and EAN bar codes are expanded to EAN-13. This is valid only when *UPC or *EAN are specified by the BCDTYPE parameter.

The possible values are:

*NO
UPC and EAN bar codes are unaffected.
*YES
UPC and EAN bar codes are expanded to EAN-13.

Extended Character Set (EXT3OF9)

Specifies whether code 3 of 9 bar code uses the extended character set. This is valid only when *CODE3OF9 is specified by the BCDTYPE parameter.

The possible values are:

*NO
Code 3 of 9 bar code is unaffected.
*YES
Code 3 of 9 bar code uses the extended character set.

Add on (ADDON)

Specifies the direction of add on digits. This is valid only when *UPC or *EAN are specified by the BCDTYPE parameter.

The possible values are:

*BIDIRECTIONAL
Add on digits are valid in both directions.
*FORWARD
Add on digits are valid only in the forward direction.

Drop begin (DROPBEGIN)

Specifies the number of characters to drop from the beginning of the bar code label. The valid range of values is from 0 through 64.

The possible values are:

0
No characters are dropped from the beginning of the bar code label.
drop-begin
Specify the number of characters to drop from the beginning of the bar code label. The valid range of values is from 0 through 64.

Drop end (DROPEND)

Specifies the number of characters to drop from the end of the bar code label. The valid range of values is from 0 through 64.

The possible values are:

0
No characters are dropped from the end of the bar code label.
drop-end
Specify the number of characters to drop from the end of the bar code label. The valid range of values is from 0 through 64.

Text 'description' (TEXT)

Specifies text that briefly describes the PTC entry.

The possible values are:

*BLANK
Text is not specified.
'description'
Specify no more than 50 characters of text, enclosed in apostrophes.

Examples

ADDEWCBCDE   BCDGRP(BCD01) INZMBR(EWC01)
             INZFILE(QGPL/QEWCSRC)  BCDTYPE(*UPC)

This command adds a bar code group named BCD01 with a bar code type of *UPC in a extended wireless controller configuration source file member named EWC01 in source physical file QEWCSRC in QGPL.

Error messages

None