I am finding these sorts of records in the output of one of my QTP
scripts. This is a variant of a previously encountered issue
respecting QTP SUBFILE creation.
D^@^Q^@^@^@^H
^^:^^:^^^@^KQPD-N-DTECR^@^KQPD-N-TMECR^@^KQPD-N-PRTOT^@^KQPD-N-PRUOM^@^KQPD-N-AMQTY^@^EQUOTE^@^GQDELIMQ^@^HQPCSVHN1^@^HQPCSVHNQ^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
These NUL records have cropped up before and the way that I have
handled them is to use awk as post-processor on the target host. A
simple awk one-liner strips out the spurious records.
INFILE=QPCSVMIQ; OUTFILE=$INFILE.nonul ; awk '(length > 0)' < $INFILE
> $OUTFILE
However, with this particular file I am left with a number of records
that consist solely of the letter D:
grep -n '^D$' QPCSVMIQ.nonul
29:D
58:D
87:D
116:D
145:D
174:D
Now the original file produced by QTP (v8.39C) is specified thus:
. . .
SUBFILE QPCSVMI1 NODICTIONARY KEEP PORTABLE NOAPPEND SIZE 500000 &
INCLUDE &
QUOTE, &
HS-NOTE-TYPE OF MI, &
QDELIMQ, &
HS-NOTE-CHAR-KEY OF MI, &
QDELIMQ, &
TEXT OF MI, &
QDELIMQ, &
COUNTRY-OF-TS OF MI, &
QDELIMQ, &
COUNTRY-OF-ORG OF MI, &
QDELIMQ, &
. . .
And yet something akin to dictionary type data is clearly being
inserted, but only for this one file (so far).
Has anyone any clue as to what is going on with QTP?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:[log in to unmask]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|