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
 

 

Editing COBOL programs on PC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Tue Dec 07, 2010 1:13 am    Post subject: Editing COBOL programs on PC
Reply with quote

Can someone suggest some COBOL text editors that can run on the PC? I want programs that pass a validity test to ensure no serious bugs or malicous code. I work for a large company and have to be careful about what I install on a work pc.

Ideally the editor would handle indentation and do colour coding for keywords and statements.
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Dec 07, 2010 1:31 am    Post subject: Reply to: Editing COBOL programs on PC
Reply with quote

Micro Focus has some of the best PC development products, but they're not cheap -

http://www.microfocus.com/products

The company should buy it for you....

Bill
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 07, 2010 1:45 am    Post subject:
Reply with quote

Hello,

Quote:
The company should buy it for you....
If the company will permit offloading source. . .

Several of my clients do not permit developers to transfer source from the mainframe. One of their reasons is that they have no control over where their source is located.

Before proceeding with this, i'd make sure i had management permission to do this.

Sounds like you want more than just an editor (depending on what this means):
Quote:
I want programs that pass a validity test to ensure no serious bugs or malicous code.
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Tue Dec 07, 2010 1:58 am    Post subject:
Reply with quote

I searched on Google and found some free stuff but I have no way of knowing if the author put in a virus or malicous code. Firefox is free but since it has wide spread acceptance it is unlikely to be malicous

The ISPF editor has some powerful commands but scrolling is tedious. A text editor with alignment features built in would be nice.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Dec 07, 2010 2:03 am    Post subject: Reply to: Editing COBOL programs on PC
Reply with quote

installing on a PC unauthorized software might be cause for lawful termination
so...beware before proceeding.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 07, 2010 2:22 am    Post subject:
Reply with quote

Hello,

Quote:
I searched on Google and found some free stuff but I have no way of knowing if the author put in a virus or malicous code.
You can be reasonably sure they have not if the software is available from some reputable site. . .

Many organizatoins (as Enrico mentions) will terminate people for downloading and installing "stuff" they have found on the web onto company machines. Most organizations will not permit the installation of freeware as there is usually no guaranteed support - which matters to an organization.

If you intend to proceed on your own, get a letter or an e-mail from a manager who has the authority to approve of this.

Repeating what Bill posted:
Quote:
Micro Focus has some of the best PC development products, but they're not cheap
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Dec 07, 2010 2:44 am    Post subject: Reply to: Editing COBOL programs on PC
Reply with quote

and it would be even worse if You installed software You paid for...
the people from accounting might even get more upset than IT/security/audit/...
(charge software/on a company machine/without the company being invoiced/... brrrrr )
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Tue Dec 07, 2010 3:02 am    Post subject:
Reply with quote

There are smart Cobol editor products available for the mainframe but they are certainly products you will have your development support buy and install for you.

If you want PC workbench functionality, vendors like Rational come in mind, but it is also not something you just sneak in on your workstation.

Lastly, basic spell checking for Cobol verbs can be obtained by using the HILITE functionality in the ISPF editor
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 641
Location: Whitby, ON, Canada

PostPosted: Tue Dec 07, 2010 5:54 am    Post subject: Re: Editing COBOL programs on PC
Reply with quote

jerryte wrote:
Can someone suggest some COBOL text editors that can run on the PC? I want programs that pass a validity test to ensure no serious bugs or malicous code. I work for a large company and have to be careful about what I install on a work pc.

Ideally the editor would handle indentation and do colour coding for keywords and statements.
Let me know if you find an editor that prevents serious bugs. That would be worth some serious $$ to any company!

More seriously, my favourite PC based editor was, and is, SPF/PC (aka SPF/PRO...but not SPF/SE). Unfortunately it was retired back in the late 1990s and is no longer available from the vendor.

As others have mentioned, the ISPF Edit HILITE command can colour your Cobol (or JCL or REXX or PLI or etc) code so that syntax errors become much more obvious. It is amazing what a difference such a simple feature can make.
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Tue Dec 07, 2010 9:34 am    Post subject:
Reply with quote

I believe that the OP meant that the editor itself should be able to pass a validity test to ensure that it contained no serious bugs or malicious code - not that the editor should be capable of ensuring that the source it is being used to edit did not contain any serious bugs or malicious code.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Dec 07, 2010 11:40 am    Post subject:
Reply with quote

I use Textpad to see color-sensitive COBOL, REXX, JCL etc. on my PC. I also added some macros to my Textpad for FTPing the files directly to my mainframe.

O.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Dec 07, 2010 7:37 pm    Post subject:
Reply with quote

UltraEdit, if I'm not mistaken can also show color-sensitive COBOL, REXX etc. but not the syntax errors.

And how about RDz from IBM.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Dec 07, 2010 7:43 pm    Post subject: Reply to: Editing COBOL programs on PC
Reply with quote

ultraedit is not free,
see my previous post about installing non free software on the employer equipment

but again, we are just wasting time here,
before proceeding the TS should check his organization policy about <other> software installation on organization equipment
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 07, 2010 7:49 pm    Post subject:
Reply with quote

I still use the paper coding sheets and after im finished coding 25000 lines of coding with pencil and paper i scan it into wordpad.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Dec 07, 2010 7:52 pm    Post subject: Reply to: Editing COBOL programs on PC
Reply with quote

wouldn' t it be better to pass it to the girls in the punched/cards department icon_biggrin.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 07, 2010 7:55 pm    Post subject: Re: Reply to: Editing COBOL programs on PC
Reply with quote

enrico-sorichetti wrote:
wouldn' t it be better to pass it to the girls in the punched/cards department icon_biggrin.gif


Sure Enrico,

but then im coming home too late icon_wink.gif
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1219
Location: Israel

PostPosted: Tue Dec 07, 2010 8:25 pm    Post subject: Reply to: Editing COBOL programs on PC
Reply with quote

Notepad++ (notepad-plus.sourceforge.net) have been authorized for installation by the company.
But COBOL is not in the default languages list. It is, however, available as a Plugin.
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Tue Dec 07, 2010 9:49 pm    Post subject:
Reply with quote

At my installation, we have a product called SmartEdit from ViaSoft.

This is a mainframe editor with ISPF Editor look and feel, but also with Cobol awareness, so you can outline and trace logic, jump the view from performs to the section performed, trace storage references, zoom in on copybooks, and finally call the actual Cobol compiler syntax checker to get your source code checked for syntax errors.

Syntax errors are hilighted as MSG lines in the editor adjacent to the line in error, just ready for correcting it.
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. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm


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