[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Reset all variables in the program.
- Subject: [sqr-users] Reset all variables in the program.
- From: Aleksandr Slobodyanik <aslobody@yahoo.com>
- Date: Tue, 20 Sep 2005 19:14:59 -0700 (PDT)
- Delivery-date: Tue, 20 Sep 2005 21:16:04 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding;b=hMhXrcDfhrJ9uyO2BIbfTcY/fnC73rYzNov+SSHkIwK3oYozSYzi4+oRyyZXB0fhAFd9dZakRI3dtMSM6LiB2FU8IYhEv+Ock2fsCaAxIRqvlYQHd8dID0S4yqnF5N0wc18/gOaH8uRG/Ck+MqTADItGnUz2BXtn8YYcznpKt+U=;
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Hi.
I am modifying several programs that we run periodically for the number of
clients.
I have to run every SQR separately for each client. If I have 20 clients, and 4
programs, I have to run them 80 times. I am modifying SQRs by adding while loop
in BEGIN-PROGRAM section. Also I added flat file with parameters for each
client. So on the first iteration program reads first line of the parameter
file, runs through, produces CLIENT_NAME.PDF. Next line of the parameter file,
NEW-REPORT another PDF with different client name, and so on until the end of
the parameter file.
Instead of 80 times I have to run these programs just 4 times.
Everything would be fine if I would not have one problem. After each iteration
all variables still have values from the previous loop. Sure, I go and reset
them after each iteration, but there are tons of them in each program, and I
have to go through each, find them, put into procedure and reset.
My question: Is there a command that would reset all variables in the program
to 0 or NULL depending on the type?
Thank you.
---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users