--simple boundary
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Description: "cc:Mail Note Part"
If I understand what you need. Why not just do
OUTPUT FileA UPD
ITEM ITEMA(1) = ITEM(5)
ITEM ITEMA(2) = ITEM(6)
I believe the problem you're incurring has to do with timing in QTPand when
defines and item statements are processed.
Kevin
*************************************
Kevin Brownlie
Manager, Business Systems
Hologic, Inc.
(781) 999-7513
kbrownlie@hologic.com
____________________Reply Separator____________________
Subject: Subscript
Author: "Shah Roshan (Windsor HQ)" <shahro01@unisourcelink.com>
Date: 3/1/99 1:06 PM
I'm at a remote Site and need to do this quickly. Don't have
manuals with me at present.
Here are the details..
ACC FileA
SHO ITEMS
ITEMA (12)
ITEMB (12)
.....
... 15 items with 12 occurances each.
( All items INT SIGN SIZ 4 )
I want the Data to be rolled... e.g ITEMA(5) --> ITEMA(1)
ITEMA(6) -->
ITEMA(2)
and so forth for all the 12
occurences correspondingly in all 15 items.
I Wrote QTP :
ACC FileA
DEF ITEMA-1 INT SIGN SIZ 4 = ITEMA(5)
DEF ITEMA-2 INT SIGN SIZ 4 = ITEMA(6)
.....
.....
OUTPUT FileA UPD
ITEM ITEMA(1) = ITEMA-1
ITEM ITEMA(2) = ITEMA-2
.... and so forth for all 180 DEFINES...
I'm not getting the proper rollover...
Any inputs ??
--simple boundary
Content-Type: text/plain; charset=ISO-8859-1; name="FileItem.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="FileItem.txt"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
Subscript
I'm at a remote Site and need to do this quickly. Don't have manuals with me at present.
Here are the details..
ACC FileA
SHO ITEMS
ITEMA (12)
ITEMB (12)
.....
... 15 items with 12 occurances each.
( All items INT SIGN SIZ 4 )
I want the Data to be rolled... e.g ITEMA(5) --> ITEMA(1)
ITEMA(6) --> ITEMA(2)
and so forth for all the 12 occurences correspondingly in all 15 items.
I Wrote QTP :
ACC FileA
DEF ITEMA-1 INT SIGN SIZ 4 = ITEMA(5)
DEF ITEMA-2 INT SIGN SIZ 4 = ITEMA(6)
.....
.....
OUTPUT FileA UPD
ITEM ITEMA(1) = ITEMA-1
ITEM ITEMA(2) = ITEMA-2
.... and so forth for all 180 DEFINES...
I'm not getting the proper rollover...
Any inputs ??