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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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