Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Can i write a cobol program in the JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
raj2007

New User


Joined: 24 Jan 2007
Posts: 1
Location: Pune

PostPosted: Mon Jan 21, 2008 4:32 pm    Post subject: Can i write a cobol program in the JCL
Reply with quote

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
View user's profile Send private message

PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Mon Jan 21, 2008 4:59 pm    Post subject:
Reply with quote

JCL controls programs; so you cannot.
And I consider the content of a SYSIN ( and others ... ) is outside the JCL.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jan 21, 2008 8:26 pm    Post subject:
Reply with quote

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
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Mon Jan 21, 2008 10:01 pm    Post subject:
Reply with quote

You can use compile-link-and go. It puts the Cobol in-stream in the JCL.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Jan 21, 2008 10:24 pm    Post subject:
Reply with quote

But even then.... the COBOL code is still written in COBOL...

O.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Mon Jan 21, 2008 10:29 pm    Post subject:
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Jan 21, 2008 11:36 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to display offset thru cobol prog... tvinodkumar7 CICS 1 Sun Apr 22, 2018 8:42 pm
No new posts Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us