QTP and portable subfiles

Pete Foulkes petefoulkes@powersoft-services.co.uk
Wed, 7 Mar 2001 12:38:04 -0000


Hi PH List people  :
Try this

Add the global temps as shown below at the start of your run, include the
temp at the end of each record 

We have used this approach to export data on UNIX boxes for loading into
other databases on NT file systems.
The result is readable by vi / wordpad / whatever you like.

Hope this makes sense.

Sample code below :

can clear
global temp cr1 int*1 size 1 byte init 10
global temp cr char*1 init char(cr1)
request one
acc rst001 in rvd000
subfile s-rst001 keep portable include rst001, cr
go

Thanks

Pete Foulkes. 

Support Manager.
Powersoft Computer Services Ltd.
mailto:petefoulkes@powersoft-services.co.uk

Switchboard 01293 562730    
Technical Support 01293 649660
Fax  01293 522006

-----Original Message-----
From: Aci Polajnar [mailto:Aci.Polajnar@rcc-irc.si]
Sent: 07 March 2001 12:21
To: 'PowerHouse List'
Subject: QTP and portable subfiles


Hi there!

Is there a tehnic to produce portable subfile with QTP that should be
readable with vi editor on IBM RISC/6000 UNIX machine. My QTP looks like
this:

can clea
acc rst001 in rvd000
subfile s-rst001 keep portable include rst001
go

If I vi my s-rst001.ps, all datas are in one line only. I think I should put
something unprintable at the end of my subfile.

Thanks for any help!
-- 
                  _\\///_
                 (' o-o ')
_______________ooOo_( )_oOoo_____________________________________

Aci Polajnar                  Tel   : +386(0)3 4274174
IS Consultant                 Fax   : +386(0)3 4274198
Razvojni Center Celje         e-mail: acip@rcc-irc.si
3000 Celje, Slovenia          URL   : http://www.rcc-irc.si  
_______________oooO____Oooo______________________________________
              (   )    (   )
               \ (      ) /
                \_)    (_/
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.