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

How To Write, Compile and Execute Cobol Program on Notepad++


IBM Mainframe Forums -> COBOL Programming
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
zq

New User


Joined: 25 May 2023
Posts: 3
Location: Canada

PostPosted: Thu May 25, 2023 1:30 am
Reply with quote

Hi, this is my first post.
I need some help on how to Write, Compile and Execute Cobol Program on Notepad ++ which is running on Windows 10 box.

thanks in advanced
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Thu May 25, 2023 2:42 am
Reply with quote

Unless you have a COBOL compiler running on your Windows 10 box, what you are asking is not possible.
Back to top
View user's profile Send private message
zq

New User


Joined: 25 May 2023
Posts: 3
Location: Canada

PostPosted: Fri May 26, 2023 12:58 am
Reply with quote

Hi there
can you please tell me which COBOL comiler I should install and how to install it into Notepad++?

apricated it
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Fri May 26, 2023 1:55 am
Reply with quote

As far as I know, there are no COBOL compilers that will install onto Notepad++. Notepad++ is a text editor -- it is not an operating system, it is not a development environment, it does not execute programs. If you had said you wanted to run COBOL compiles on a Windows machine, then you would have several choices (free or paid). However, since Notepad++ does not support compiling or executing programs, what you want to do is simply impossible.
Back to top
View user's profile Send private message
zq

New User


Joined: 25 May 2023
Posts: 3
Location: Canada

PostPosted: Fri May 26, 2023 2:16 am
Reply with quote

I checked the website of Notepad++, Cobol is the one language it supported. I don't know how to compile COBOL in Notepad ++.

thanks,
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Fri May 26, 2023 2:44 am
Reply with quote

From notepad-plus-plus.org:
Quote:
Notepad++ is a free (as in “free speech” and also as in “free beer”) source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GNU General Public License.
Note that the product itself tells you that it is a source code editor -- not an execution environment, not a compiler.

Notepad++ supports COBOL like it supports other languages -- you can key in COBOL statements and they will be formatted (COBOL key words will be colored, quotes checked for starting / ending tic or quote marks, and so forth). In no way is it implied that you can compile COBOL programs using Notepad++. Text editors are used to enter code into a computer, but you must still have a compiler and way to execute the compiled code -- neither of which you have with Notepad++.

This topic is locked to prevent any further foolishness about Notepad++.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
No new posts Replacing FILLER with FILLER<SeqNu... DFSORT/ICETOOL 2
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts Compile Sp Cobol base COBOL Programming 1
No new posts SQLCODE=-311 in Cobol SP-DB2. COBOL Programming 2
Search our Forums:

Back to Top