Use the following JCL to assemble and link-edit a module in z/OS.
//ASMCL EXEC HLASMCL //C.SYSLIB DD DISP=SHR,DSN=zOS.maclib // DD DISP=SHR,DSN=yourHLQ.CAGJMAC //C.SYSIN DD DISP=SHR,DSN=your.custom.srclib(source-member) //L.SYSLMOD DD DISP=SHR,DSN=your.custom.loadlib //L.CAGJLOAD DD DISP=SHR,DSN=yourHLQ.CAGJLOAD //L.CUSTLIB DD DISP=SHR,DSN=your.custom.lib //L.SYSIN DD * binder-statements /*
Replace the variables in the JCL as explained next:
Replace source-member with the name of the member containing the source to be assembled.
Replace binder-statements with the binder input statements appropriate to the load module being created.
|
Copyright © 2010 CA.
All rights reserved.
|
|