z390development / z390

z390 Portable Mainframe Assembler and Emulator Project
GNU General Public License v2.0
37 stars 15 forks source link

RPI 1582: zCOBOL Macro tree restructure #158

Open adelosa opened 3 years ago

adelosa commented 3 years ago

Raised by Tony Thigpen 2016/04/29 Revise macro tree structure for zCobol so that z/VSE can be supported more easily. See mail by Tony thigpen dd 2012-06-06 12:30

z390org commented 3 years ago

Email by Tony Thigpen:

Abe, Ray,

A few years back, I made a short-lived attempt to get the zCobol process to actually work for code to be run on z/VSE. The reason it was short-lived was because I found the code generated by zCobol did not use any equivalents of IBM z/OS macros. Instead the zCobol code generated the same instructions as the macro would have. Because of this, much larger blocks of code were going to have to be converted and thus made the job much harder than I had the time to invest. Basically, there was no easy way to include a 'z/VSE' maclib into the process because the initial design of the zCobol macros and the maclib tree structure did not lend themselves to multiple operating systems.

As you go forward with zCobol, please keep this in mind. Maybe the maclib tree structure for zCobol can be re-thought and improved so that such a project is more do-able.

--

Tony Thigpen