Program does not run

Discussions about editing and cleaning data
Post Reply
AriSilva
Posts: 614
Joined: July 22nd, 2016, 3:55 pm

Program does not run

Post by AriSilva »

Hi folks,
Sorry but I did not find a better subject to describe what is happenning.
I´m helping remotely INE-Bolivia with their census.
They are trying to run one of their programs (attached), and when they click in the Run icon to run it, it does nothing, it does not even create the .pff.
The compilation is successful.
When I tried it here by building the .pff by hand I got the same problem.
I did not look deep inside the .apc, but apparently it seems fine to me.
Best regards
Ari
Attachments
Batch_base2_AS.zip
(85.16 KiB) Downloaded 266 times
Best
Ari
justinlakier
Posts: 210
Joined: November 21st, 2022, 4:41 pm

Re: Program does not run

Post by justinlakier »

Hello,

as mentioned here, CSPro is running into memory issues. Many of these PROCs are over a thousand lines long with if/else statements. If you remove most of these oversized PROCs, you will find that the remaining code works. As mentioned in the linked post, PROC code size can be reduced by moving some logic to global functions and spreading it out to other PROCs, but for particularly large code additional steps may need to be taken to reduce PROC code size.

Hope this helps,
Justin
AriSilva
Posts: 614
Joined: July 22nd, 2016, 3:55 pm

Re: Program does not run

Post by AriSilva »

Thank you very much, I realize now that this problema had already occurred, and I forgot that.
Best
Ari
Best
Ari
Gregory Martin
Posts: 1840
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Program does not run

Post by Gregory Martin »

FYI...this will be fixed in CSPro 8.1.
Post Reply