Re: Can c89 create a loadlib member?

2007-02-01 Thread Julie Erickson
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=CMSPACKft=NOTE  I didn't use the exec since the COMPSWT solut
ion was so 
simple.


 


Re: Can c89 create a loadlib member?

2007-01-31 Thread Julie Erickson
I'm using the OS simulation LOAD macro to load assembler modules which ar
e 
not LE conforming.  We're a software vendor and the application will be 

distributed to customers.  I would prefer to distribute everything in a 

loadlib instead of some parts in a loadlib and some parts as CMS modules.


Can c89 create a loadlib member?

2007-01-30 Thread Julie Erickson
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 becaus
e 
I need the c prelinker.

Thanks for your help,
Julie.


Re: Can c89 create a loadlib member?

2007-01-30 Thread Alan Altmark
On Tuesday, 01/30/2007 at 01:04 CST, 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:
[snip]
 This creates OBNPTCP MODULE.  I'd like to create a member of a loadlib
 instead.

Why does it need to be a member of a LOADLIB?

Alan Altmark
z/VM Development
IBM Endicott