Variable Management - Param.dat for PcVue 12.0

5 Posts
4 Users
0 Likes
53 Views
n.jayagobal
(@n-jayagobalarcinfo-com)
Posts: 45
Estimable Member
Topic starter
 

Hi All,

Customer asking this for PcVue 12.0

Previously (11.2), in the PARAM.DAT file, there was a section (VARIMPORTFILES) that defined a variable import file to use on start up. This appears to be missing.
I would like to understand how these are now managed in terms of files in the 'C' directory.

I tried, however it doesn’t appear to import.
When I add it in, it get automatically removed on start up.

 
Posted : 10/07/2019 9:58 am
f.cubattoli
(@f-cubattoliarcinfo-com)
Posts: 167
Reputable Member
 

Hello, good question.

Apparently, in version 12 the only working trick I found is the following:

  • Create a text file called "INCLUDE.DAT" in C1 folder of your project
  • Inside this text file, list row by row (one row per file), all the files you need to import
  • Copy inside this C1 folder all the files you have to import previously declared in INCLUDE.DAT

But be careful: As far I noticed, old VARIMPORTFILES feature has a different behaviour: CVAREXP.DAT was ignored or totally overwrited.
Instead, using C1INCLUDE.DAT way, all the imported files are APPENDED to variables already declared in CVAREXP.DAT

And, in case of modification done via Application Explorer/Architect:

  • Using VARIMPORTFILES in 11.2 and before: modification are recorded in CVAREXP.DAT but lost (overwritten) at next startup
  • Using C1 import way in 12: if you modify a variable which is declared in CVAREXP.DAT: no problem - if you modify a variable declared in C1: modification lost at next startup

Hope it helps, if somebody has better info please share, I'm interested too!

 
Posted : 11/07/2019 7:12 pm
f.cubattoli
(@f-cubattoliarcinfo-com)
Posts: 167
Reputable Member
 

Sorry for whom has forum message notification active on his mailbox: correct file name should be INCLUDE.DAT and not import.dat.
I edited the message.

 
Posted : 11/07/2019 7:15 pm
KASI
 KASI
(@k-simanjalamarcinfo-com)
Posts: 134
Estimable Member
 

Hi Filippo,

Thanks for your response. This is a very interesting topic. Is there any place for further reading on INCLUDE.DAT, as I did not find much info on help, addenda and knowledgebase?

Thanks,
Kantha

 
Posted : 12/07/2019 10:30 am
b.lepeuple
(@b-lepeuplearcinfo-com)
Posts: 149
Estimable Member
 

Hi
There is some information in the addenda on the DVD.
Disclaimer: Content of this doc feels its age, it is in French only (apologize for that), but says a few interesting things.

In particular, it describes the consolidation of configuration in the CTEMP directory, with stuff coming from C, C1 and... -i command line arguments.

For the issue raised on this thread the -i command line argument is probably the best option (from what I see in the discussion), but I may be wrong. I also had discussions with Dominique a few days ago, looks like there is connection.
Be careful, C1 and import at startup are not the kind of feature which are actively maintained. Their future is not bright even if there is no plan to remove them yet.

As for the document in French, look for CfgFiles.fr.pdf in the French addenda.

@French readers: Someone please, call Kantha and Filippo and explain them what's in French, and the doc team will owe you a drink 😉

 
Posted : 12/07/2019 2:16 pm