LSE + COBOL

Talk about commercial or opensource products that already exist for OpenVMS or may be available in the future.
Post Reply

Topic author
paolo_r
Contributor
Posts: 16
Joined: Sat Oct 23, 2021 11:18 pm
Reputation: 0
Status: Offline

LSE + COBOL

Post by paolo_r » Wed Oct 27, 2021 10:38 pm

Having a first look at LSE. Is there an explanation anywhere as to the commands that are used e.g. load an existing file, create a file etc (all the usual editor stuff.)

The opening screen shows | Write | Insert | Forward at the bottom of the screen. Is there a command mode? I can't see how to input commands - anything I type merely gets echoed in the $MAIN buffer above [End of File].

And how does LSE recognise COBOL?

Thanks

User avatar

martinv
Master
Posts: 101
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: LSE + COBOL

Post by martinv » Thu Oct 28, 2021 1:35 pm

Paolo,

the Language Sensitive Editor LSE is part of the DECset bundle. Various documentation for it is available at the VSI documentation website. What you're looking for is probably the VSI DECset for OpenVMS Language-Sensitive Editor Command-Line Interface and Callable Routines Reference Manual

COBOL is supported, AFAICT.

HTH,
Martin
Working hard for something we don't care about is called stress;
working hard for something we love is called passion.
(Simon Sinek)


Topic author
paolo_r
Contributor
Posts: 16
Joined: Sat Oct 23, 2021 11:18 pm
Reputation: 0
Status: Offline

Re: LSE + COBOL

Post by paolo_r » Thu Oct 28, 2021 4:26 pm

martinv

Thanks. Yes, I found that manual and it was helpful. Also helpful is the fact that I've got an old USB keyboard with an LSE (and EVE) compatible keypad which should make using LSE very much easier.

As far as COBOL is concerned is there an initialisation/parameter file that I need to set up to activate COBOL support? I wasn't easily able to find anything about this, merely some comment about [placeholders..] which I'm afraid didn't mean anything to me.

Thanks

Paul

User avatar

arne_v
Master
Posts: 299
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Offline
Contact:

Re: LSE + COBOL

Post by arne_v » Thu Oct 28, 2021 5:41 pm

If you hit the DO key (or the keys mapped to VT DO key) then you should get a prompt where you can enter comands.

I believe LSE should determine language based on file extension, but it has been a long time since I last tried LSE.

I doubt spending time learning LSE is worth the effort. LSE is totally obsolete. If you need a general purpose text editor then use EVE. If you need an IDE with language support then run VMS IDE (VS Code with VMS plugin) on a PC.
Arne
arne@vajhoej.dk
VMS user since 1986


Topic author
paolo_r
Contributor
Posts: 16
Joined: Sat Oct 23, 2021 11:18 pm
Reputation: 0
Status: Offline

Re: LSE + COBOL

Post by paolo_r » Thu Oct 28, 2021 6:09 pm

arne

Thanks for your comments. I will still examine LSE - out of interest :D

With respect to VME IDE - as it runs on a PC how does it cooperate with OpenVMS running on an emulator?

Paul

User avatar

arne_v
Master
Posts: 299
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Offline
Contact:

Re: LSE + COBOL

Post by arne_v » Thu Oct 28, 2021 9:58 pm

You edit on PC, the IDE upload files to VMS, builds on VMS and even debugs.

https://wiki.vmssoftware.com/VMS_IDE
Arne
arne@vajhoej.dk
VMS user since 1986


Topic author
paolo_r
Contributor
Posts: 16
Joined: Sat Oct 23, 2021 11:18 pm
Reputation: 0
Status: Offline

Re: LSE + COBOL

Post by paolo_r » Thu Oct 28, 2021 11:02 pm

OK, arne, many thanks.

Paul

Post Reply