Re: How can I write this program to a load library

2013-11-05 Thread Mike Myers
Cameron: I can't help you with your COBOL (not one of my languages), but what you need is some JCL help. Retired Mainframer set you on the the right direction by saying you should look for another procedure. As he said, language (assembler and compiler) procedures usually come in three forms:

Re: How can I write this program to a load library

2013-11-05 Thread Steve Comstock
On 11/4/2013 8:21 PM, Steve Comstock wrote: On 11/4/2013 7:49 PM, Cameron Seay wrote: 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.

Re: How can I write this program to a load library

2013-11-05 Thread George Young
Have a look at http://www-01.ibm.com/support/docview.wss?uid=swg27036733 and pick your compiler version release and have a look at the Programming Guide chapter that discusses cataloged procedures. For example, for Enterprise COBOL for z/OS 4.2, see Chapter 14 Compiling under z/OS, section U

Re: How can I write this program to a load library

2013-11-05 Thread Elardus Engelbrecht
Paul Gilmartin wrote: >> Be very careful doing that! When I was very young I tried something similar >> without understanding that the following GO step contained: >> //STEPLIB DD DISP=(OLD,DELETE),DSN=*.LKED.SYSLMOD >> Oops! A common trap. RACF can help you to protect your dataset with ac

Re: How can I write this program to a load library

2013-11-05 Thread Steve Comstock
On 11/4/2013 8:59 PM, Paul Gilmartin wrote: On Mon, 4 Nov 2013 20:21:38 -0700, Steve Comstock wrote: To do that has nothing to do with COBOL: it's JCL you need to brush up on. Point LKED.SYSLMOD to a PDS/PDSE that contains load modules or program objects. Be very careful doing that! When I w

Re: How can I write this program to a load library

2013-11-04 Thread Paul Gilmartin
On Mon, 4 Nov 2013 20:21:38 -0700, Steve Comstock wrote: > >To do that has nothing to do with COBOL: it's JCL you need to >brush up on. Point LKED.SYSLMOD to a PDS/PDSE that contains >load modules or program objects. > Be very careful doing that! When I was very young I tried something similar wi

Re: How can I write this program to a load library

2013-11-04 Thread Lizette Koehler
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 > > Al

Re: How can I write this program to a load library

2013-11-04 Thread Steve Comstock
On 11/4/2013 7:49 PM, Cameron Seay wrote: 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

Re: How can I write this program to a load library

2013-11-04 Thread retired mainframer
age- :>: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On :>: Behalf Of Cameron Seay :>: Sent: Monday, November 04, 2013 6:50 PM :>: To: IBM-MAIN@LISTSERV.UA.EDU :>: Subject: How can I write this program to a load library :>: :>: All: :>: :>: I am a re-new

How can I write this program to a load library

2013-11-04 Thread Cameron Seay
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