Home > Archive > Cobol > February 2006 > JCL to compile COBOL
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
JCL to compile COBOL
|
|
| Harbojam 2006-02-02, 7:55 am |
| Hey
Does anybody have some JCL that compiles and links COBOL source code, i
am a new user so a self explanatory peice of code is required,
Many Thanks
Jamie
| |
|
| In article <1138881435.347901.242230@g43g2000cwa.googlegroups.com>,
Harbojam <jamie_harbour@ntlworld.com> wrote:
>Hey
>
>Does anybody have some JCL that compiles and links COBOL source code, i
>am a new user so a self explanatory peice of code is required,
I assume the operating system is an IBM mainframe, of some sort. What
compiler are you using (IKFCBL00 vs IGYCRCTL) and what are your
installation's most common defaults, please?
>
>Many Thanks
You're quite welcome... but I wonder what kind of place does not give a
'new user' access to common skeleton jobs ('skels'). Is there a reason
that your systems crew did not direct you towards the appropriate PDS?
DD
| |
| Harbojam 2006-02-02, 7:55 am |
| The compiler i am using is IGYCRCTL, i have been given a sample peice
of JCL that compiles and links cobol but i can not manipulate it to
compile my source code.
| |
|
| In article <1138885193.092165.223480@g44g2000cwa.googlegroups.com>,
Harbojam <jamie_harbour@ntlworld.com> wrote:
>The compiler i am using is IGYCRCTL, i have been given a sample peice
>of JCL that compiles and links cobol but i can not manipulate it to
>compile my source code.
Well, there's a start. What kind of errors are you throwing?
DD
| |
| Michael Mattias 2006-02-02, 6:55 pm |
| <docdwarf@panix.com> wrote in message news:drstov$ob4$1@reader2.panix.com...
> In article <1138881435.347901.242230@g43g2000cwa.googlegroups.com>,
> Harbojam <jamie_harbour@ntlworld.com> wrote:
>
> I assume the operating system is an IBM mainframe, of some sort. What
> compiler are you using (IKFCBL00 vs IGYCRCTL) and what are your
> installation's most common defaults, please?
And in either case, the compiler's and linker's manuals (available in paper,
CD or online) contain documentation.
Your bigger 'real world' problems will be selecting compile and link options
compatible with all the other software created for your system, and finding
the names of your link libraries. These are always very
installation-specific.
Sometimes (often?) a site will have its own piece of 'front-end' software to
which you supply only the name of your source code file and the library to
which you want the code compiled (and maybe one or two additional options);
that 'front-end' software will ensure all the libraries and options are the
correct ones for the site.
As DD said, there simply MUST be someone there who has compiled a program
before and can point you in the correct direction.
MCM
| |
| Howard Brazee 2006-02-02, 6:55 pm |
| On 2 Feb 2006 03:57:15 -0800, "Harbojam" <jamie_harbour@ntlworld.com>
wrote:
>Does anybody have some JCL that compiles and links COBOL source code, i
>am a new user so a self explanatory peice of code is required,
Every shop (that uses JCL & has CoBOL) either has JCL set up or uses
TSO menus to do this (or both). Are you at an IBM mainframe shop
that is thinking about starting to use CoBOL?
What is your mainframe IBM environment that is interested in starting
to use CoBOL? And what are its reasons for exploring this
direction? This topic is of extreme interest to us in the industry
who are wondering about our future.
| |
| William M. Klein 2006-02-02, 6:55 pm |
| Sounds like what you really need is a basic JCL course on how to override DD's,
DSN's, PARM's, etc. Given a "standard compile proc" - then you should (if you
understand JCL) be able to get it to do whatever you specifically want.
One "hint" about this, many (most? all?) shops have different PROCs for
different things, i.e. batch, CICS, IMS, SQL, some combination of above. Make
certain that you are starting with the "correct" PROC.
P.S. If you are "new" to this, then you should have some "senior" programmer or
team leader who is "local" and can/should be able to help you with this. If you
got hired claiming you "know" things like this, then you have another problem.
--
Bill Klein
wmklein <at> ix.netcom.com
"Harbojam" <jamie_harbour@ntlworld.com> wrote in message
news:1138885193.092165.223480@g44g2000cwa.googlegroups.com...
> The compiler i am using is IGYCRCTL, i have been given a sample peice
> of JCL that compiles and links cobol but i can not manipulate it to
> compile my source code.
>
| |
| Paul Knudsen 2006-02-14, 6:55 pm |
| On 2 Feb 2006 03:57:15 -0800, "Harbojam" <jamie_harbour@ntlworld.com>
wrote:
>Hey
>
>Does anybody have some JCL that compiles and links COBOL source code, i
>am a new user so a self explanatory peice of code is required,
>
>Many Thanks
>
>Jamie
You work pretty cheap, right?
--
Top 10 Conservative Idiots:
http://www.democraticunderground.com/top10/
|
|
|
|
|