IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to compile a cobol program without using a JCL


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cobolunni

Active User


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

PostPosted: Thu Nov 16, 2006 4:46 pm
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
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: 127
Location: kerala,india

PostPosted: Sat Nov 18, 2006 12:27 pm
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: 2358
Location: Israel

PostPosted: Sun Nov 19, 2006 12:48 am
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: 127
Location: kerala,india

PostPosted: Sun Nov 19, 2006 11:16 am
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: 127
Location: kerala,india

PostPosted: Sun Nov 19, 2006 11:26 am
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: 2358
Location: Israel

PostPosted: Sun Nov 19, 2006 6:44 pm
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: 127
Location: kerala,india

PostPosted: Mon Nov 20, 2006 11:28 am
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
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: 2358
Location: Israel

PostPosted: Mon Nov 20, 2006 5:32 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top