beautypg.com

Omnitron Systems Technology RS-232 User Manual

Page 49

background image

43

EXAMPLE THREE

%B0123774965^FISH/MARY^96124379F?

MSR Track 1 data

Desired Output: Divide it up into seven fields so that the 1st field is the first

two characters, 2nd field is all characters from the first field to the first “^”

character, 3rd field is the first “^” character, 4th field is the data between “^”

marks, 5th field is the next “^” character, 6th field is the next four characters,

7th field is the remaining characters. In addition, a is inserted between

fields in the data output record. Only the 4th, 2nd, and 6th fields are outputted.

Formula

ID k C 02 S ^ S ^ C04 A \ OD SEND

DHBHFH

Field List

Field A

%B

Field B

0123774965

Field C

^

Field D

FISH/MARY

Field E

^

Field F

9612

Field G

4379F?

Field H

Keystroke Sequence

Enter Data Editing Setup

/E/D/FJ

Enter Data Editing and Enable

JA1

Enter Code ID and k (for MSR Track 1)

JCk

Enter Count and 02

JF0

2

Enter Search String and the ^ character

JG^

Enter Search String and the ^ character

JG^

Enter Count and 04

JF0

4

Enter Add Field & the character JJ^N*

Enter Field Sequence and DHBHFH JKD

HB

HF

H

Enter Exit Setup

JZ

Output Data

FISH/MARY

0123774965

9612

* ^N: Do a CTRL-N by holding down the key while pressing the N key, then

releasing both.