Archive

Posts Tagged ‘Progress’

Build .r comparable DB

December 25th, 2006 No comments

1) For the original DB, dump the .df file.  Can be done by

  • go to Progress -> Data Administration -> Admin -> Dump Data and Definitions -> Data Definitions; or
  • Syteline admin -> Admin -> Database maintenance -> Dump Data Definitions.

2) Create a new DB from Progress empty DB: Progress -> Data Administration -> Database -> Create.  Make sure create from correct code page empty db. For example, if original DB is GB2312, then use the empty db from prolang\sch\gb2312.


3) Load the .df file to new DB. Progress -> Data Administration -> Admin -> Load Data and Definitions -> Data Definitions


4) Compile code against to this new DB, the .r code should be comparable with original DB.

Categories: Progress Tags: , ,

Copy DB in Windows

November 22nd, 2006 No comments

Copy DB in Windows
1) Command prompt, CD to DB directory.
2) %DLC%\bin\procopy oldname newname.  newname can be full path like F:\db\shimadzu\shimadzu
3) This will copy over the .db, .b1, .d1, .st and .lg.  Then manually copy over any .pf and update .pf accordingly.

Categories: Progress Tags: , ,