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: 4649
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: 10274
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
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm


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