Hi, did you supply initial estimates? It woud be much easier to debug if you attach the project or at least the core output and the warnings and errors files.
Also - as you realise the WNL ASCII code is now considered obsolete as almost all models are easier to write (and debug) in PML, did you look at the other posts on this topic eg.?
I downloaded the file you gave, I run “ASCII” system error, run “Model” no error (I did not modify your file anywhere).
Error message:
“There was an error while executing Workflow.ASCII failed to fit model”
I do not know how to paste the picture up, I put my related interface screenshots on the Excel document upload up, I hope you can help me solve this problem.
Sorry perhaps I should be clearer, I took your ascii code and tried to run it too without success, it is a while since I worked with this and as I did not spot anything obvious (I don’t have a lot of time this week to debug it). That is why I gave you an example in PML that IS working and I recommend you use that unless someone else on the forum can debug your ascii code.
The PML example is annotated and you could additionaly watch the free webinar I linked to previously; if you don’t ‘speak’ ASCII now, there is little sense in trying to learn this now obsolete function in my opinion, when the PML can easily be written with the much more intuitive graphical model builder
If you do want to debug, then look in the core output and you will see where it thinks the issue is;
BEGI
10: IF TINPT2= 0
*** ERROR 10001 *** INVALID STATEMENT.
PROGRAM TERMINATED.
The empty quotes doesn’t look right to me either but not sure what is meant to be there
0521 - I dusted off my old Gabrielsson and Weiner to check the code and indeed that line was wrong, but there were also message about not reading parameter names correctly, which in turn meant that your initial estimates were not read correctly.
It took quite a while of fiddling and even now I’m still not sure if it was an extra space or the lack of one that caused the problem! However it is working now, please look to learn PML as soon as you can!