environment variable in cspro
Posted: December 2nd, 2018, 10:48 am
I define the variable PCNUM as environment variable. I want to call it in cspro. Kindly guide me how can i do this in cspro.
A place to discuss the Census and Survey Processing System
https://www.csprousers.org/forum/
You can execute that batch file with execsystem, and then you can use the setfile/fileread functions to read that file, pcnum.txt, to get the contents of the environment variable.echo %PCNUM% > pcnum.txt