Arrays in Qtp
Cousins, Michael
Michael.Cousins@Cognos.COM
Fri, 26 Mar 1999 12:14:11 -0500
Page 84 PowerHouse for OpenVMS QTP Reference (v. 7.10) and Page 119
PowerHouse for UNIX QTP Reference (version 7.23). specifically state the
limitation that you are encountering.
I'd suggest redefining the item in the dictionary once as opposed to
possibly having to code the DEFINE/ITEM statements several times.
==================
Ray Bailey wrote:
> VMS 7.1 P/H 710G & HPUX 10.2 P/H 7.33.d3
>
> Picture the following
>
> Record RRR layout
>
> NAME Char*10
> QUALIFICATION Char*5 occurs 30
>
> I want to create a subfile holding one record per valid QUALIFICATION so I
> tried the following.
>
> Access RRR
>
> Subfile SUBFILE_NAME keep alias SUB_01 &
> if QUALIFICATION(1) ne " " &
> include NAME, QUALIFICATION(1)
>
> Subfile SUBFILE_NAME keep alias SUB_02 &
> if QUALIFICATION(2) ne " " &
> include NAME, QUALIFICATION(2)
>
> ~~~~~~~~
>
> Subfile SUBFILE_NAME keep alias SUB_30 &
> if QUALIFICATION(30) ne " " &
> include NAME, QUALIFICATION(30)
>
> This seems to be okay with the subscript being specified on the IF option
> but not as part of the INCLUDE.
>
> Does anyone know any way I can do this without having to define thirty
items
> or creating a redefinition in the dictionary.
>
> BTW I've allow tried it specifying "of RRR".
>
> Ray Bailey
> Leicester
> England
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
=
> Subscribe: "subscribe powerh-l" in message body to
majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
> 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
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
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
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.