
Gen hanging
#1
Posted 01 August 2006 - 12:04 PM
When I gen a function it just sits there (I thought it was IDE at first ... sorry Rob ;-). There are no file locks on the bootstraps and the problem still occurs when I copy the function to a new name and gen that so it's definitely something in the function.
Any ideas?
Cheers
Mike
#2
Posted 01 August 2006 - 12:09 PM
you should remove parts of the function piece by piece until it will
gen - then check what you removed.
Stuff like invalid co-ordinates can cause this.
of the poster and do not represent those of any organisation.
#3
Posted 01 August 2006 - 12:26 PM

Try the TRACEALL, and see what its really doing...
As Chris says, I think invalid window or paging screen sizes might cause that....
Rob.
#7
Posted 02 August 2006 - 08:14 AM
Hi Jasjac,We've had something like that before and it turned out to be a full stop '.' at the end of a logic line.
Had us baffled for ages !!
Dont suppose you have an example of that do you?
Or what kernel version / OS you were on.
It doesnt seem to do that for me, on HP Unix and 5.5 Proiv kernel.
So that I can figure out what the problem is, and then I can make a check in ProIV IDE to warn people about it.
Its this kind of thing that you can spend hours over trying to resolve, so a automatic check would be good...
Thanks,
Rob D.
#8
Posted 02 August 2006 - 12:59 PM
I remember this one now. There was a . at the end of a line of logic. That's all. There must have been something specific about the logic line though as if I try that randomly now it actually gens (even though it's technically an invalid logic line !!)
My problem was the same but different:
I had the following code:
PIT_PINS_RBC_FILE_NAME = 'RBC. + $CURR_SPONSOR + '.' + $SUBGROUP + $BUY_SELL + $DOLLAR_UNIT + $SWEEP_DATE + '.csv'
Obviously I'd missed a quote mark after RBC. but the gen doesn't pick it up as an error, it just hangs - presumably because the last character was a "."
#10
Posted 02 August 2006 - 01:05 PM
Hmmm, strange....Hi Rob
I remember this one now. There was a . at the end of a line of logic. That's all. There must have been something specific about the logic line though as if I try that randomly now it actually gens (even though it's technically an invalid logic line !!)
My problem was the same but different:
I had the following code:PIT_PINS_RBC_FILE_NAME = 'RBC. + $CURR_SPONSOR + '.' + $SUBGROUP + $BUY_SELL + $DOLLAR_UNIT + $SWEEP_DATE + '.csv'
Obviously I'd missed a quote mark after RBC. but the gen doesn't pick it up as an error, it just hangs - presumably because the last character was a "."
Doesnt hang on our system, Proiv 5.5r345
Just says NO FILE DEFINITION FOR VARIABLE - .'
What version are you on?
Rob.
#11
Posted 02 August 2006 - 01:06 PM
Maybe that has something to do with it...
Rob.
#12
Posted 02 August 2006 - 01:24 PM
The logic was split over 3 lines - just put it into one for convenience. Don't think it should make a difference but it looks like this:
PIT_PINS_RBC_FILE_NAME = 'RBC.' + $CURR_SPONSOR + '.' + $SUBGROUP + $BUY_SELL + $DOLLAR_UNIT + $SWEEP_DATE + '.csv'
Obviously it's been fixed now ;-) but it looks the same otherwise.
#14
Posted 02 August 2006 - 03:03 PM
HP-UX 11i 5.5r517 - same result as Rob gotHmmm, strange....Hi Rob
I remember this one now. There was a . at the end of a line of logic. That's all. There must have been something specific about the logic line though as if I try that randomly now it actually gens (even though it's technically an invalid logic line !!)
My problem was the same but different:
I had the following code:PIT_PINS_RBC_FILE_NAME = 'RBC. + $CURR_SPONSOR + '.' + $SUBGROUP + $BUY_SELL + $DOLLAR_UNIT + $SWEEP_DATE + '.csv'
Obviously I'd missed a quote mark after RBC. but the gen doesn't pick it up as an error, it just hangs - presumably because the last character was a "."
Doesnt hang on our system, Proiv 5.5r345
Just says NO FILE DEFINITION FOR VARIABLE - .'
What version are you on?
Rob.
-Rick
#15
Posted 03 August 2006 - 08:54 AM
Something I wish VIP had. Especially when doing bulk file changes etc. Having to re-gen the function for every wrong logic ID can get very tiresome.But there's something that would be nice to have in IDE - a logic validator.
Saves saving and genning the function when you know it's going to fail.
Cheers
Mike
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users