Updating derived equations in imported desktops

11 views
Skip to first unread message

Bob Watzlavick

unread,
Mar 20, 2007, 2:03:08 PM3/20/07
to IADS
We've had some discussions in the past about the default behavior for
user deriveds when you import a desktop. The existing behavior is to
not update an existing user derived and that is fine. The problem is
that if you want to update a bunch of them, you have to go into
the .iadsDt file with a text editor and selectively change the
"updat3" fields to "update". Are there plans for a better way to do
this?

-Bob

Jim Bretz

unread,
Mar 20, 2007, 3:32:44 PM3/20/07
to ia...@googlegroups.com
Bob,

Definitely... Actually, this issue was at critical status for 5.3, but with
all the other issues we had in 5.3 we simply ran out of time.

We were planning on querying the user during Dt/Aw import,
Jim

Watzlavick, Robert L

unread,
Mar 20, 2007, 3:30:38 PM3/20/07
to ia...@googlegroups.com
In some cases, a user may have derived parameters from different groups.
We typically will change "updat3" to "update" on a per-group basis.
That way, we won't whack somebody else's deriveds.

In the meantime, I made a short Perl script that fixes up the
.iadsDt/.iadsAw files.

-Bob

Jim Bretz

unread,
Mar 20, 2007, 4:48:34 PM3/20/07
to ia...@googlegroups.com
Bob,

> In some cases, a user may have derived parameters from different groups.
> We typically will change "updat3" to "update" on a per-group basis.
> That way, we won't whack somebody else's deriveds.
>
> In the meantime, I made a short Perl script that fixes up the
> .iadsDt/.iadsAw files.
>

Great idea! Keep them rolling... This will make it much more easy and
meaningful when it comes to implementation time

Question: How do you link the parameter group to the user group?
Jim

Watzlavick, Robert L

unread,
Mar 20, 2007, 4:12:04 PM3/20/07
to ia...@googlegroups.com
Here's the snippet of Perl we're using for now:

if ($lineIn =~ /updat3 ParameterDefaults set \* =
User_Derived\|.*\|.*\|.*\|@ARGV[2]\|/)
{
$count = $count + 1;

$lineIn =~ s/updat3 ParameterDefaults set/update ParameterDefaults
set/;

}

where ARGV[2] is the group's name that we want to update the deriveds
for.

-Bob

-----Original Message-----
From: ia...@googlegroups.com [mailto:ia...@googlegroups.com] On Behalf Of
Jim Bretz
Sent: Tuesday, March 20, 2007 3:49 PM
To: ia...@googlegroups.com
Subject: [IADS] Re: Updating derived equations in imported desktops

Reply all
Reply to author
Forward
0 new messages