(OpenInsight 32-bit Specific)
At 04 SEP 2003 07:17:39PM Barbara F Evans wrote:
This has probably been asked before, but my discussion searches have yielded little help. Is there an easy way to copy or transfer an Arev SOURCE program into the OI System editor for modification and compilation. I have a client with a lot of batch programs that need to be converted from AREV 312 to OI 412.
At 04 SEP 2003 07:35PM Gerald Lovel wrote:
Barbara,
Just attach the AREV source file in OI, then do a Database/Save to make the attach permanent. (In the system monitor I think the command is: RUN ATTACH_TABLE "path","account","SOURCE"). Edit the programs in source, and choose save and compile. This writes the source to SYSPROCS and the object to SYSOBJ. You must also choose save from the menu to write the program back to SOURCE, should you wish to.
Gerald
At 04 SEP 2003 08:10PM Don Miller - C3 Inc. wrote:
There are a couple of ways.
You can attach an AREV source code file in OI (assuming you're in AREV 3.12) and use the System Editor cut/paste. Since you'll have to convert a lot of code anyway, this works ok. It is also possible to save AREV source code as a DOS Text file and get it in that way (if you're not in Arev 3.12). You could also write a stored proc that would open your AREV source library, let you select what you want from a popup and copy the selected elements into SYSPROCS (which is where OI source code lives). You may need to change your Keys to substitute the underbar for period, etc. before the record is saved. Not too dramatic to do this.
Don M.
At 05 SEP 2003 10:06AM Barbara F Evans wrote:
Thanks guys. I had problems with the PROGRAM.MFS on the SOURCE file when I attached it. I created a new empty table, copied all the modules from source into it and then attached the new file. Works just fine.
At 05 SEP 2003 11:17AM Don Miller - C3 Inc. wrote:
Should have warned you about that .. mea culpa. I've always used a program-specific source file (BP_SOURCE for the most part). About the only thing I ever put on it is a QUICKDEX to keep things in sorted order.
Glad you resolved it.
Don M.
At 07 SEP 2003 12:49AM Bob Silverstein wrote:
Two things.
1. When I try to attach SOURCE, I get "error loading program: PROGRAM.MFS". Any ideas on how to deal with this?
2. Barbara, at first I thought converting Arev source's to OI's would be very hard. It was not. In addition to the underscores in the dict's, the biggest change is from end's to return's. Once you get into them, I think you will like the OI enhancements.
Good luck.