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 code ,compile, run the cobol program using foreground

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: How to code ,compile, run the cobol program using foreground
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

Moderator Team Head


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

PostPosted: Mon Jun 09, 2008 7:24 pm    Post subject: Reply to: How to code ,compile, run the cobol program using
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Mon Jun 09, 2008 7:53 pm    Post subject: Reply to: How to code ,compile, run the cobol program using
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    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm


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