Providing support for all E. Crane Computing products, including POWERGEN, PBSERVICE, HARPB, VERSIONEDIT, PBLRESCUE, and PBLEXPLORER.
You are not logged in.
Pages: 1
I have been using powergen and would like to create a batch file to synchronize and build via batch file.
I have use the following command line:
Start/Wait 'D:\Program Files\E. Crane Computing\PowerGen Professional\PwrGn9' /K 'd:\rssecwrk.90\student\source\attendance.gen' 'd:\rssecwrk.90\student\source\attendance.olf'
The powergen is called and executed.
Right after I went via Power Builder 9, to check that the objects had been sichronized. But did not.
Do I have to do another step. I did not use any of the other swith since it will use the project settings.
If you have an example code for sinch and build it will be helpful
Please let me know, thanks in advance
Hi Laura,
The process you're describing should give you the correct results.
Can you look at the output log (powergen.log, by default) and see that the process completed with no errors? Send the output log to me and I'll take a look at it.
Regards,
Phil
The pgerror.log contains:
Return code: 106
Cmd used: Start/Wait Pwrgn9 /K='D:\Rssecwrk.90\Stu\Source\Attendance\Attendance.gen' 'D:\Rssecwrk.90\Stu\Source\Attendance\attendance.olf'
I found that the error means missing project file.
But the path for my attendance.gen is correct.
I found that the error means missing project file.
But the path for my attendance.gen is correct.
Phil:
I am sorry about submitting so many times my mistake.
I have solved the problem. I had to remove the single quotes from the path and also change the olf name.
Start/Wait Pwrgn9 /K=D:\Rssecwrk.90\Stu\Source\Attendance\Attendance.gen D:\Rssecwrk.90\Stu\Source\Attendance\sta0000.olf
Thanks,
lellison
Pages: 1