Arrays in Qtp
Ray Bailey
rayb@specialist.co.uk
Fri, 26 Mar 1999 15:24:43 -0000
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.