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

How to code ,compile, run the cobol program using foreground


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

New User


Joined: 25 Aug 2006
Posts: 17
Location: Bangalore

PostPosted: Mon Jun 09, 2008 7:13 pm
Reply with quote

Hi

Am new to this concept,

can any one let me know how to compile ,link edit and run cobol program using foground option without using jcl??


correct me if am wrong.

regards
raj
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Jun 09, 2008 7:24 pm
Reply with quote

The best way I know of is to convert your existing compile/link-edit job to CLIST or REXX. Then, once that is working correctly, create an ISPF EDIT macro that invokes your CLIST or REXX directly from the program source code. For any non-zero return-code situations, write the output to a temporary (VIO) dataset and use an ISPF BROWSE command to review the errors.

And, I know I'll get flamed for saying this, but don't most shops already do all of their code load-and-go testing in the foreground anyway?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jun 09, 2008 7:53 pm
Reply with quote

ask Your support
foreground compiling in many shops is frowned upon

so it would better for You to get acquainted with Your organization' s standards and practices
Back to top
View user's profile Send private message
arunmozhicholan

New User


Joined: 07 Feb 2007
Posts: 27
Location: chennai

PostPosted: Wed Jun 11, 2008 11:14 am
Reply with quote

Hi,

did u mean that u need to run in windows

thanks
arun.
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 run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top