On Tue, 30 Jan 2007 13:04:08 -0600, Julie Erickson <[EMAIL PROTECTED]> wrote :
>I'm porting a multi-tasking application written in c from MVS to CMS. I 'm >using the following statements to link: > >/* link OBNPTCP */ > "c89 -o //obnptcp -l //VMMTLIB -W b,b,rent -W b,b,amode=31 -W >b,b,map" , > "//SCSMTCP.text ", > "//MCSMLOG.text ", > "//OAXOENQ.text ", > "//OAXOFLSY.text ", > "//OAXOWAIT.text ", > "//OAXOTMRW.text ", > "//OAXOMEM.text ", > "//OAXOWTO.text ", > "//OAXMDATE.text ", > "//OAXMTRTB.text ", > "//OASMIQUE.text " > >This creates OBNPTCP MODULE. I'd like to create a member of a loadlib >instead. > >Does anyone have any ideas? I doubt that I can use LKED by itself becau se >I need the c prelinker. > >Thanks for your help, >Julie. >======================== ========================= ======================= I was using fetch( ) to load the c code from CMS module files and the OS LOAD macro to load an assembler table from a loadlib. Since we're a software vendor I'd like to ship all the parts of the application in the same format. Perry Ruiter came up with an excellent solution to my problem. By using the COMPSWT macro, I can use the OS LOAD macro to load CMS module files. It works like a champ. Now all my code can be CMS module files. Perry also offered me an exec, MOD2TEXT, to convert module files to text decks. The link for the exec is http://vm.marist.edu/~vmshare/browse? fn=CMSPACK&ft=NOTE I didn't use the exec since the COMPSWT solut ion was so simple.
