View previous topic :: View next topic
|
Author |
Message |
raj2007
New User
Joined: 24 Jan 2007 Posts: 1 Location: Pune
|
|
|
|
Hi Friends,
Can i write a cobol program in the JCL?
If it is Poassible how can we write?
Please suggest me..
Raj[/b] |
|
Back to top |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
JCL controls programs; so you cannot.
And I consider the content of a SYSIN ( and others ... ) is outside the JCL. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Can i write a cobol program in the JCL? |
COBOL programs are written in COBOL. . . They are often (usually) compiled with JCL.
If you re-word your question, we may be able to provide more usable replies. |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
You can use compile-link-and go. It puts the Cobol in-stream in the JCL. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
But even then.... the COBOL code is still written in COBOL...
O. |
|
Back to top |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
Raj,
What is your background or education in Mainframe to post such a question? Do you already write program ( in any language )?
This is not an attack, just trying to see what is your position.
Is the question coming from another people? your coach ?
Is it an exercice? |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Raj,
Perhaps, if you can replace the dots of this sentence we may get a better idea of what you're looking for:
Quote: |
Can i write a cobol program in the JCL instead of the usual way of ......... |
Just replace the dots (........) with the usual method you use to "write" a cobol program. |
|
Back to top |
|
|
|