Interpreters Document


Appendix H  –  Op-Code Additional Information - GATS Option String Processing



Download 6,14 Mb.
Pdf ko'rish
bet212/213
Sana03.04.2022
Hajmi6,14 Mb.
#525844
1   ...   205   206   207   208   209   210   211   212   213
Bog'liq
dps Interpreters

Appendix H 
– $55 Op-Code Additional Information - GATS Option String Processing 
The General Assembly Test System (GATS) options processing evaluates an ASCII string (mask) consisting of 
RPO data, operands (e.g. logical and, or, not, wildcard characters), and option specifiers. Option specifiers 
consist of the vehicle VIN, and/or model designator information. Any set of characters in the string that is not 
white space or an option specifier, and is not preceded by a specified letter and colon is considered an RPO. If 
the RPO matches one of the RPOs in the build data, that RPO is considered a match. The entire string must 
match for the evaluation to result as true. 
Option specifiers are identified by a single letter followed by a colon followed by the data to match against. There 
cannot be a space on either side of the colon. The following 
are the valid options identifiers that can be used when building a GATS options string: 
M: 
Represents the Model Designator. The string following the colon is compared to the Model Designator in 
the build data. Wildcard characters may be used as part of this specifier to match on multiple designators.
See examples for further clarification 
V: 
Represents the VIN. The string following the colon is compared to the VIN extracted from the build data.
Wildcard characters may also be used as part of this option specifier so that individual characters within 
the VIN can be masked on (e.g. restraint code or vehicle model year). See examples for further 
clarification. 
The option string can contain several special characters to interpret portions of the build string. These characters 
allow greater flexibility when setting up the masks. Following is a description of how these wild card characters 
work. 

A question mark is used to indicate that any one character can occupy that position in the string. Matches 
occur for any single character in the same location of the string.

An asterisk is used to indicate that any character can occupy that position and all the trailing positions in 
the string. Any number of characters are valid. All characters that follow an asterisk are ignored.
^N 
These characters (where N represents any character) are used to indicate any single character in that 
position in the string that is not N. Matches occur for any single character in the same location of the 
string that is NOT that value.
[M-N] These characters (where M and N represent any characters) are used to indicate a range of M to N 
inclusive. Matches occur for any character in the same location of the string that is in the range of M to 
N.
^[M-N] These characters (where N and M represent any characters) are used to indicate a "NOT" range of M to N 
inclusive. Matches occur for any character in the same location of the string that is NOT in the range of 
M to N.
[M,N,O,...] These characters (where N, M and O represent any characters) are used to indicate a list of valid 
characters. Matches occur for any character in the same location of the string that matches M, N, O.
More than three characters may be specified.
^[M,N,O,...] These characters (where N, M and O represent any characters) are used to indicate a list of invalid 
characters. Matches occur for any character in the same location of the string that is NOT M, N, O.
More than 3 numbers may be specified.
The option configuration string uses wild card and Boolean characters to interpret each part of the build data.
These characters allow greater flexibility when setting up the masks. The following is a description of how these 
Boolean characters work. The previous section describes the wild card characters. This section describes the 
Boolean characters. 

This character represents the Boolean "AND" operation. When used, if both operands are true, then the 
entire statement is true.

This character represents the Boolean "OR" operation. When used, if either operand is true, then the 
entire statement is true.
CameraLoops.com



1993-2011 General Motors Company, GM Customer Care & Aftersales. All Rights Reserved.
Page
254 

This character represents the Boolean "NOT" operation. When used, if the operand is true, then the 
entire statement is false. If the operand is false, the entire statement is true.
( ) 
These characters represent that Boolean association rules apply. They are used to specify a grouping of 
conditions.
Option String Examples 
Option String 
Comments 
L26 & OP1 
True if the RPOs L26 and OP1 exist in the build 
data. 
L35 | OP4 
True if the RPOs L35 or OP4 exist in the build 
data. 
!LY7 
True if the RPO LY7 does not exist in the build 
data. 
JM4 & (OP4 | OP5) 
True if RPOs JM4 and either OP4 or OP5 exist 
in the build data. Notice the parentheses 
change the logic of this statement. If OP4 and 
OP5 RPOs exist in the build data and JM4 does 
not, then this statement evaluates to false.
JM4 & OP4 | OP5 
True if RPOs JM4 and OP4 are part of the build 
data or if OP5 is part of the build data. 
V:1G2W51567N* 
True if the vehicle VIN exactly matches the first 
10 characters. Characters 11 through 17 don‟t 
matter. 
V:1G2W^51567N* 
True if the first 4 character of the vehicle VIN 
are 1G2W and the 5
th
character is not 5, and 
digits 6 through 10 are 1567N. Digits 11 
through 17 don‟t matter. 
V:1G2W[4-6]* 
True if the first 4 character of the vehicle VIN 
are 1G2W and the 5
th
character is either a 4, 5, 
or a 6. The value of the characters after the 5
th
are ignored. 
V:1G2W^[4-6]* 
True if the first 4 character of the vehicle VIN 
are 1G2W and the 5
th
character is not 4, 5, or 
6. The value of the characters after the 5
th
are 
ignored. 
V:1G2[A,C,W]5* 
True if the first 4 3 characters of the vehicle VIN 
are 1G2, the 4
th
character is either A, C, or W, 
and the 5
th
character is 5. Characters 6 
through 17 are ignored. 
V:1G2W[1-12]567N* 

Download 6,14 Mb.

Do'stlaringiz bilan baham:
1   ...   205   206   207   208   209   210   211   212   213




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish