Change EWC Barcode Entry (CHGEWCBCDE)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Change Extended Wireless Controller Bar Code Entry (CHGEWCBCDE) command changes a set of bar code group parameters in a 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.

Top

Parameters

Keyword Description Choices Notes
BCDGRP Barcode group Name Required, Key, Positional 1
INZMBR Initialization source member Name Required, Key, Positional 2
INZFILE Initialization source file Qualified object name Optional, Key, Positional 3
Qualifier 1: Initialization source file Name, QEWCSRC
Qualifier 2: Library Name, *LIBL, *CURLIB
BCDTYPE Barcode type *SAME, *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, *SAME Optional
CHK1DIGIT First check digit *SAME, *NO, *YES Optional
CHK2DIGIT Second check digit *SAME, *NO, *YES Optional
ALLZERO All zeros *SAME, *NO, *YES Optional
ALPHADSP Alpha display *SAME, *NO, *YES Optional
ADDON2 Add on 2 *SAME, *NO, *YES Optional
ADDON5 Add on 5 *SAME, *NO, *YES Optional
SYS1UPCE System 1 UPC-E *SAME, *NO, *YES Optional
SYS0UPCE System 0 UPC-E *SAME, *NO, *YES Optional
UPCE UPC-E *SAME, *NO, *YES Optional
EAN13 EAN 13 *SAME, *NO, *YES Optional
EXT3OF9 Extended Character Set *SAME, *NO, *YES Optional
ADDON Add on *SAME, *BIDIRECTIONAL, *FORWARD Optional
DROPBEGIN Drop begin 0-64, *SAME Optional
DROPEND Drop end 0-64, *SAME Optional
TEXT Text 'description' Character value, *SAME, *BLANK Optional
Top

Barcode group (BCDGRP)

Specifies the name of the existing bar code group to be changed. This name is used to identify configuration data related to a bar code group. The bar code group name is a unique alphanumeric character string with a maximum of 16 characters in length.

Top

Initialization source member (INZMBR)

Specifies the extended wireless controller source file member of the bar code group. This member contains the bar code configuration data that is changing.

Top

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 source physical file that contains the source member.
Top

Barcode type (BCDTYPE)

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

The possible values are:

*SAME
The value remains the same.
*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.
Top

Label length (LBLLEN)

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

The possible values are:

*SAME
The value remains the same.
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.
Top

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:

*SAME
The value remains the same.
*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.
Top

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:

*SAME
The value remains the same.
*NO
The second check digit is ignored.
*YES
The second check digit is checked for a valid read.
Top

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:

*SAME
The value remains the same.
*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.
Top

Alpha display (ALPHADSP)

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

The possible values are:

*SAME
The value remains the same.
*NO
Display the characters normally.
*YES
Display the characters as alphabetic characters.
Top

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:

*SAME
The value remains the same.
*NO
A 2-digit add on is ignored.
*YES
A 2-digit add on is valid.
Top

Add on 5 (ADDON5)

Specifies whether 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:

*SAME
The value remains the same.
*NO
A 5-digit add on is ignored.
*YES
A 5-digit add on is valid.
Top

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:

*SAME
The value remains the same.
*NO
A System 1 UPC-E is ignored.
*YES
A System 1 UPC-E is valid.
Top

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:

*SAME
The value remains the same.
*NO
A System 0 UPC-E is ignored.
*YES
A System 0 UPC-E is valid.
Top

UPC-E (UPCE)

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

The possible values are:

*SAME
The value remains the same.
*NO
UPC-E bar codes are unaffected.
*YES
UPC-E bar codes are expanded to UPC-A.
Top

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:

*SAME
The value remains the same.
*NO
UPC and EAN bar codes are unaffected.
*YES
UPC and EAN bar codes are expanded to EAN-13.
Top

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:

*SAME
The value remains the same.
*NO
Code 3 of 9 bar code is unaffected.
*YES
Code 3 of 9 bar code uses the extended character set.
Top

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:

*SAME
The value remains the same.
*BIDIRECTIONAL
Add on digits are valid in both directions.
*FORWARD
Add on digits are valid only in the forward direction.
Top

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:

*SAME
The value remains the same.
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.
Top

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:

*SAME
The value remains the same.
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.
Top

Text 'description' (TEXT)

Specifies text that briefly describes the PTC entry.

The possible values are:

*SAME
The value remains the same.
*BLANK
Text is not specified.
'description'
Specify no more than 50 characters of text, enclosed in apostrophes.
Top

Examples

CHGEWCBCDE   BCDGRP(BCD01)  INZMBR(EWC01)  ADDON2(*YES)

This command changes a bar code group named BCD01 to allow ADDON2 usage in an extended wireless controller configuration source file member named EWC01 in source physical file QEWCSRC in the library list.

Top

Error messages

None

Top