Reading/loading a 'text' file as a subfile, or into a flat file - is there an easy way ?

Richard Witkopp RWitkopp at phxa.com
Fri Oct 12 15:05:53 CDT 2012


On VMS I just write a quick (no pun intended) ad hoc program to create a subfile that matches the format of the file you're trying to read. Then I run an analyze on the subfile .sf to get an .fdl. Then I run CONVERT on the text file using the .fdl, rename it to be the same as the subfile, and you're done.

I imagine similar utilities are available on other platforms.

-----Original Message-----
From: powerh-l-bounces+rwitkopp=phxa.com at lists.sowder.com [mailto:powerh-l-bounces+rwitkopp=phxa.com at lists.sowder.com] On Behalf Of Michel Adam
Sent: Friday, October 12, 2012 12:34 PM
To: powerh-l at lists.sowder.com
Subject: Reading/loading a 'text' file as a subfile, or into a flat file - is there an easy way ?

This has probably been answered any number of times before, but:

With PH on Wintel, I'd like to process a '.txt' file with QTP, or
convert it / load it into a flat file with the least amount of fuss
possible.

Are there any tools/tricks that will let PH deal with a variable record
length (byte stream) file as if it was a fixed length flat file ?

Thanks 

Michel Adam


--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: 'subscribe' in message body to powerh-l-request at lists.sowder.com
Unsubscribe: 'unsubscribe <password>' in message body to powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.

------------------------------------------------------------------------------
NOTICE: The information contained in this e-mail and any attachments is confidential and may be privileged or otherwise protected from disclosure.This e-mail is intended solely for the use of the named addressee. Any other use, printing, copying, disclosure or dissemination may be subject to legal restriction. If you are not the intended recipient, please contact the sender and delete all copies including any attachments.

==============================================================================



More information about the powerh-l mailing list