The CLG at the end of your proc name stands for compile, link, and go. You should have a corresponding CL proc (for compile and link) that should be set up to let you specify a permanent library via a symbolic parameter. You will then need to add Binder (nee Linkage Editor) control cards (or possibly addition symbolic parameters) to specify the member name and other load module options.
If the Binder runs with NCAL specified, you would run the program with the corresponding LG (link and go) proc. If not, you would use the corresponding G (go) proc. :>: -----Original Message----- :>: From: IBM Mainframe Discussion List [mailto:[email protected]] On :>: Behalf Of Cameron Seay :>: Sent: Monday, November 04, 2013 6:50 PM :>: To: [email protected] :>: 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 * <snip> :>: //GO.SYSOUT DD SYSOUT=* :>: //GO.SYSPRINT DD SYSOUT=* :>: //GO.INPUT DD * :>: VICKI HAMPTON CIS :>: GEORGE WASHINGTON ENG :>: IVAN ISGREAT PHY :>: IGOR ISBETTER :>: IVANA GOHOME :>: COB OL :>: HUGH LESS :>: GARY MORE :>: PAULA PANTHER :>: //GO.PRNT DD SYSOUT=* :>: ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
