QTP Quesion
Deskin, Bob
Bob.Deskin@Cognos.COM
Mon, 6 May 2002 07:45:20 -0400
In this case, they will do the same thing.
Why do you have the SET FILE MY-FILE OPEN 1? There's no need for it that I
can see.
Bob Deskin
PowerHouse Web Product Manager, Application Development Tools, Cognos Inc.
bob.deskin@cognos.com (613) 738-1338 ext 7268 FAX: (613) 727-1178
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA
-----Original Message-----
From: ashish dube [mailto:ashish_dube@rediffmail.com]
Sent: Monday, May 06, 2002 7:27 AM
To: powerh-l@lists.swau.edu
Subject: QTP Quesion
Hi All,
Help needed. I am novice to Powerhouse.
This is related to QTP.
Is there any functional difference in following code samples ?
Or are these two different ways of doing same thing ?
1)
REQUEST A
ACCESS MY-FILE
TEMP T ZONED SIGNED SIZE 11
ITEM T = FIELD1 + FIELD2
OUTPUT MY-FILE UPDATE
SET FILE MY-FILE OPEN 1
ITEM FIELD1 FINAL T
2)
REQUEST A
ACCESS MY-FILE
OUTPUT MY-FILE UPDATE
SET FILE MY-FILE OPEN 1
ITEM FIELD1 = FIELD1 + FIELD2
---------------------------------
As far as I know, both does same work and second one is efficient
coding example.
Thanks in advance for your help !
Regards,
Ashish.
_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or
Abroad
http://monsterindia.rediff.com/jobs
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
This message may contain privileged and/or confidential information. If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so. Thank you.