Model Handle within Loop

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Model Handle within Loop

Eric Black
I created a model that saved as an XML file and I want to run it repeatedly.
 It looks like Model Handle does not work within a loop - end loop macro -
does anybody know what other options I have to run it in something akin to a
loop?

Matthias

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Model Handle within Loop

David Marso
Administrator
This is NOT Twitter! Brevity is not a virtue.
Tell us what you are ACTUALLY DOING and don't make us guess!
Post actual code and error messages etc and save a few iterations of Q&A.
Please post the ACTUAL code you are trying to run!
Whatever error messages arise might be useful too!
FWIW: ESPss and InTel.
LOOP is VERY different than !DO in a MACRO but it's too late in the day to try to guess!

matti wrote
I created a model that saved as an XML file and I want to run it repeatedly.
 It looks like Model Handle does not work within a loop - end loop macro -
does anybody know what other options I have to run it in something akin to a
loop?

Matthias

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Re: Model Handle within Loop

Jon K Peck
In reply to this post by Eric Black
You can run any block of syntax by writing a macro loop (not a transformation loop), or, better, using Python programmability without the restrictions of the transformation system that LOOP/END LOOP is part of.


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
new phone: 720-342-5621




From:        Matt Kretschmer <[hidden email]>
To:        [hidden email],
Date:        11/08/2012 02:24 PM
Subject:        [SPSSX-L] Model Handle within Loop
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




I created a model that saved as an XML file and I want to run it repeatedly.
It looks like Model Handle does not work within a loop - end loop macro -
does anybody know what other options I have to run it in something akin to a
loop?

Matthias

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD


Reply | Threaded
Open this post in threaded view
|

Re: Model Handle within Loop

Eric Black
In reply to this post by Eric Black
Thanks Jon, I greatly appreciate it.

Matt

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD