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 <CR> is inserted between
fields in the data output record. Only the 4th, 2nd, and 6th fields are outputted.
Formula
Field List
Enter Data Editing Setup
Enter Data Editing and Enable
Enter Code ID and k (for MSR Track 1)
Enter Count and 02
Enter Search String and the ^ character
Enter Search String and the ^ character
Enter Count and 04
Enter Add Field & the <ENTER> character JJ<ENTER>^N<ENTER>*
Enter Field Sequence and DHBHFH
Enter Exit Setup
Output Data
* ^N: Do a CTRL-N by holding down the <CTRL> key while pressing the N key, then
releasing both.
ID k C 02 S ^ S ^ C04 A \ OD SEND
DHBHFH
Field A
Field B
Field C
Field D
Field E
Field F
Field G
Field H
43
%B
0123774965
^
FISH/MARY
^
9612
4379F?
<CR>
Keystroke Sequence
/E/D/FJ<ENTER>
JA<ENTER>1<ENTER>
JC<ENTER>k<ENTER>
JF<ENTER>0<ENTER>
2<ENTER>
JG<ENTER>^<ENTER>
JG<ENTER>^<ENTER>
JF<ENTER>0<ENTER>
4<ENTER>
JK<ENTER>D<ENTER>
H<ENTER>B<ENTER>
H<ENTER>F<ENTER>
H<ENTER>
JZ<ENTER>
FISH/MARY<CR>
0123774965<CR>
9612<CR>