HP3000-L Archives

April 2009, Week 4

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:
Brice Yokem <[log in to unmask]>
Reply To:
Brice Yokem <[log in to unmask]>
Date:
Fri, 24 Apr 2009 14:59:56 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
My first question is, your Linux system does not accomodate QTP?
If it did, then a type 1 subfile would do the trick.
The other way would be to export the file out of the Linux system as
a fixed format file instead of a delimited csv type.  Then you build
a type 1 subfile definition and add it in that way, or force the record 
length to be one of the plain vanilla text files which are common in
most dictionaries and use DEFINE to break out the fields.  Another
way would be to used suprtool to break out the fields from the fixed
format file and PUT them into the IMAGE database that way.

On Fri, 24 Apr 2009 10:04:39 -0400, James B. Byrne <byrnejb@HARTE-
LYNE.CA> wrote:

>I have a requirement to move a file from one of our Linux systems
>onto the HP3000 and parse its contents to add a number of records
>into an Image database.  I can produce this file in a variety of
>formats. The data records comprise two 3 character codes and 2 fixed
>precision numbers expressed as variable length strings between 8 and
>12 characters, including the decimal point.
>
>Does anyone here have an example of parsing either a csv or xml
>format ascii text file in QTP?  I will figure this out eventually
>but, given the length of time since I did any serious lifting in
>QTP, it likely will take a while for me to recover anything
>approximating my former skill.  If anyone can provide a sample of
>the code required then I will avail myself of the assistance.
>
>
>--
>***          E-Mail is NOT a SECURE channel          ***
>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 *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2