PSC PT Program Generator User Manual
Page 162

Example Frames
150
PT Program Generator (PPG) v5.0
Location
Asset #
Date
Time
Example data:
Room 1,12345,2/24/2003,13:39:53
Room 1,12346,2/24/2003,13:39:58
Room 2,12347,2/24/2003,13:45:33
Room 2,12348,2/24/2003,13:39:43
If duplicate Asset #'s are to be disallowed, the
Asset #
must be looked up in
the second field and, if found, display a message and disallow the entry. Enter
“
12347” at the
Asset #
prompt and store it in the
Default Register
field
Asset #
, copy
Asset #
to the
Lookup
register, insert “
~,
” on the front of the
entry and append “
,
*” onto the end of the entry so the result is:
~,12347,*
Use the
Lookup
register in a
Verify
node as the comparison type against the
Default File
to determine the existence of a duplicate record.
To search for a data in a file, complete the following steps:
1. Input
Asset #
into
Default Register Asset #
field
2. Copy the
Default Register Asset #
field to the
Lookup
register
3. Copy insert “
~,
” onto the front of the
Lookup
register
4. Copy append“
,
*” to the
Lookup
register
5. In the
Verify
node,
Verify Information
tab, select
File as the
Data
Type
and
File as the File =
Default File
type.
6. In the
Verify
node,
Verify Options
tab, select
ASCII as the
Data
type,
Register as the
Comparison
type, and
Lookup as the
Register
type.
2342.book Page 150 Thursday, July 22, 2004 8:35 AM