Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving an MDL to PYI ???

Status
Not open for further replies.

mjcotter

Programmer
Jul 9, 2001
66
US
I'm trying to write some MDL scripts to open an MDL and save as a PYI. I also want to add in signon info.

I would like to string it together to do multiple file saves. However, the below script errors after the first save. I assume b/c the first MDL file is still open.

Is there a way to close the first file and move on to the next one???

Thanks.

OpenMDL "X:\Models\PROD Dental Rates.mdl"
SignonUpdate "EDWPROD" PromptForPassword False Password "password" UserID "user"
SavePY "X:\Models\PROD Dental Rates.pyi"
OpenMDL "X:\Models\PROD Medical Rates.mdl"
SignonUpdate "EDWPROD" PromptForPassword False Password "password" UserID "user"
SavePY "X:\Models\PROD Medical Rates.pyi"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top