With Cobol Installation, your shop should have loaded many IGYW* procs. You are using IGYWCLG.
In the JESMSGLOG you should see a message that states PROC IGYWCLG Expanded from xxxxx Library. Go to that Library and see if you have other IGYW* procs there. One of them should have an IEWL or BINDER step that you can override the SYSLMOD to a load library of your choice. Also, go and look at the manual: Application Programing for z/OS for your level of Cobol. It should detail the different procs and what they can be used for. I think the IGYWCL may be what you need to use. HTH Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Cameron Seay > Sent: Monday, November 04, 2013 7:50 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: How can I write this program to a load library > > All: > > I am a re-newbie to COBOL (learned it years ago but it's very rusty). I am > teaching > it to my students because it's a great job skill now. Below is job that > contains the > source code inline and runs great. It compiles, links and runs error free. > What I > want is the syntax to place the LOAD module into a data set. I tried what I > thought > would work, but it didn't. Many thanks! > > //KC02177B JOB (12345678),'V HAMPTON',MSGLEVEL=(1,1),REGION=0M, > // NOTIFY=&SYSUID,MSGCLASS=A,CLASS=A > //**** > //COBOL1 EXEC IGYWCLG, > // > PARM.COBOL='TEST,RENT,APOST,OBJECT,NODYNAM,LIB,SIZE(5048376)' > //COBOL.SYSPRINT DD SYSOUT=* > //COBOL.SYSIN DD * ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN