HP3000-L Archives

January 2018, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"James B. Byrne" <[log in to unmask]>
Reply To:
Date:
Fri, 12 Jan 2018 13:55:19 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (66 lines)
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 *

ATOM RSS1 RSS2