Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to compile a cobol program without using a JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
cobolunni

Active User


Joined: 07 Aug 2006
Posts: 128
Location: kerala,india

PostPosted: Thu Nov 16, 2006 4:46 pm    Post subject: How to compile a cobol program without using a JCL
Reply with quote


Can anybody please tell me how to compile a cobol program without using a jcl in mainframe
Back to top
View user's profile Send private message

shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Nov 16, 2006 5:11 pm    Post subject: Re: compiling cobol program
Reply with quote

If your shop has one, then find it out from someone who is working for that shop for sometime.

~Vamsi
Back to top
View user's profile Send private message
cobolunni

Active User


Joined: 07 Aug 2006
Posts: 128
Location: kerala,india

PostPosted: Sat Nov 18, 2006 12:27 pm    Post subject:
Reply with quote

I got the answer as

We can use the FREGROUND option in ISPF to compile the cobol program without writing a jcl program
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Nov 19, 2006 12:48 am    Post subject:
Reply with quote

Or you can write your own REXX.

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

Active User


Joined: 07 Aug 2006
Posts: 128
Location: kerala,india

PostPosted: Sun Nov 19, 2006 11:16 am    Post subject:
Reply with quote

hello ofer71

Can you please explain with an example
Back to top
View user's profile Send private message
cobolunni

Active User


Joined: 07 Aug 2006
Posts: 128
Location: kerala,india

PostPosted: Sun Nov 19, 2006 11:26 am    Post subject:
Reply with quote

also ofer71 since i never used rexx i am unaware how to code and execute it
we are using a internet time sharing resource to access mainframe is it possible to do rexx program in that ? we never find a option or compiler for rexx in that s/m .how can i identify is there any rexx compiler in our mainframe please give a detail information about it

thanks in advance
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Nov 19, 2006 6:44 pm    Post subject:
Reply with quote

Normally, REXX is interpreted, not compiled. Even if you don't have the compiler, you still can use REXX if you have TSO.
Also, I'm not familiar with "internet time sharing", but I know there are versions of REXX for PC and web.

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

Active User


Joined: 07 Aug 2006
Posts: 128
Location: kerala,india

PostPosted: Mon Nov 20, 2006 11:28 am    Post subject:
Reply with quote

How we are submitting rexx is that is by tso submit command
can you explain compiling a cobol program using rexx with a rexx code
please explain the entire step including creation of rexx code to execution.

if i assume we are writting the rexx code in a ps
then is it possible to execute it by simply a tso submit command in the command line
Back to top
View user's profile Send private message
vijay_bn79

New User


Joined: 20 Nov 2006
Posts: 48
Location: Hyderabad

PostPosted: Mon Nov 20, 2006 3:18 pm    Post subject:
Reply with quote

Hi..,

yes by using FREGROUND option in ISPF we can compile cobol program

Thanks
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Nov 20, 2006 5:32 pm    Post subject:
Reply with quote

You normally invoke a REXX exec by the EXEC command. You can invoke it directly in foreground, or you can invoke it in batch using TSO's TMP (also known as IKJEFT01 or "batch TSO").

Have you thought about reading the fine manual?

O.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us