|
The Target/400 tool does a great job on the OCL to CL part. The last time I used it, a lot of funky RPG broke it (like SET and KEY statements), and John Caine (the genius who wrote the tool) fixed every little flukey thing. Al Al Barsa, Jr. Barsa Consulting Group, LLC 400>390 914-251-1234 914-251-9406 fax http://www.barsaconsulting.com http://www.taatool.com "Richard B Baird" <rbaird@esourcecons To: midrange-l@midrange.com ulting.com> cc: Sent by: Subject: RE: Sys/36 re-engineering. midrange-l-admin@mi drange.com 12/16/2002 02:04 PM Please respond to midrange-l I would be very careful with any tool that converts OCL to CL. It's been years since I looked at it, but back then, the target/400 tool made a mess of that conversion. Maybe it has improved since, but I have my doubts. It would generate sometimes as many as 20 CL statements for each OCL 'equivelent', and it didn't differenciate between single and repeated lines, such as a group of // if active- statements. a simple 10-20 line OCL procedure could generate a 400 line CL monstrosity, that was very difficult to decifer. Thier implementation of 'if active' btw, didn't even work. it tried to lock the object exclusively, and monitor for the 'can't do it' message, then, regardless, unlocked the object. problem is, program objects aren't locked when they run - only a copy of the program is used and locked, not the original. so, it generated 10 lines of CL, that didn't even do what it was supposed to do. IMO, there just is no substitute to looking at the 'intent' of the OCL, and re-engineering it to as400 techniques. many many OCL statements have no 1 to 1 as/400 equivelents, and many techniques standard to the 34/36 are non-standard and poorly implemented on the 400. (delete, bldfile, bldindex, #gsort, if active, if dataf1, etc.) ------original message------ From: Jamie Coles <jcoles@origsoft.com> <snip> > ...RPG400 and create DDS specs and convert OCL to CL. <snip> _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.