Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Pew, Curtis G
On Dec 10, 2019, at 10:12 AM, Support, DUNNIT SYSTEMS LTD. 
 wrote:
> 
> With VS, is there a way to insert text on an existing source line without the 
> line sequence number in columns 73-80 being shifted to the right?
> 
> Any other VS beginner tips someone has will be greatly appreciated. Thanks.
> 

I don’t know anything about VS, but my advice would be to stop using line 
sequence numbers in columns 73–80.


-- 
Pew, Curtis G
curtis@austin.utexas.edu






--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Farley, Peter x23353
Maybe press the "Insert" key on your PC keyboard to overtype instead of 
inserting characters?  Or a combination of insert-on and insert-off typing?

Logically it shouldn’t be any different than inserting text in a regular 
document, should it?  Unless VS has a really funky text editor . . . 

But first a more general question:  Why in the world are you still using 
sequence numbers in 73-80?  Use ISPF EDIT "UNNUM" command as the first thing 
you do for any mainframe code, get rid of those relics of IEBUPDTE ASAP.

I haven't had any use or need for sequence numbers in 73-80 on an MVS or 
derivative OS in over 3 decades.  VM/CMS is a different animal though, I will 
admit.  They are still useful there for source maintenance.

Peter

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Support, DUNNIT SYSTEMS LTD.
Sent: Tuesday, December 10, 2019 11:12 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Editing HLASM source with Visual Studio - columns 73-80

Hi all,

Totally new to Visual Studio Editor. Installed it, plus Dan Kelosky's 
IBM-Assembler extension. Intention is to edit source when offline from z/OS.

With VS, is there a way to insert text on an existing source line without the 
line sequence number in columns 73-80 being shifted to the right?

Any other VS beginner tips someone has will be greatly appreciated. Thanks.

--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Charles Mills
Lots of experience with VS for C but none with Z assembler. I do however use 
the excellent Notepad++ with Z assembler. (I have a profile for assembler code 
if anyone wants it -- write me off-line.) 

My advice is the same as everyone else's: ditch the sequence numbers.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Farley, Peter x23353
Sent: Tuesday, December 10, 2019 8:25 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

Maybe press the "Insert" key on your PC keyboard to overtype instead of 
inserting characters?  Or a combination of insert-on and insert-off typing?

Logically it shouldn’t be any different than inserting text in a regular 
document, should it?  Unless VS has a really funky text editor . . . 

But first a more general question:  Why in the world are you still using 
sequence numbers in 73-80?  Use ISPF EDIT "UNNUM" command as the first thing 
you do for any mainframe code, get rid of those relics of IEBUPDTE ASAP.

I haven't had any use or need for sequence numbers in 73-80 on an MVS or 
derivative OS in over 3 decades.  VM/CMS is a different animal though, I will 
admit.  They are still useful there for source maintenance.

Peter

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Support, DUNNIT SYSTEMS LTD.
Sent: Tuesday, December 10, 2019 11:12 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Editing HLASM source with Visual Studio - columns 73-80

Hi all,

Totally new to Visual Studio Editor. Installed it, plus Dan Kelosky's 
IBM-Assembler extension. Intention is to edit source when offline from z/OS.

With VS, is there a way to insert text on an existing source line without the 
line sequence number in columns 73-80 being shifted to the right?

Any other VS beginner tips someone has will be greatly appreciated. Thanks.

--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Support, DUNNIT SYSTEMS LTD.
Hi Peter,

Thanks for your reply.

>> Maybe press the "Insert" key on your PC keyboard to overtype instead of 
>> inserting characters?
>> Or a combination of insert-on and insert-off typing?

Yes, I know that. My question was in hope that there might be some editor 
setting which keeps anything past a specific column as static, thereby 
mimicking the behavior of ISPF's editor.

>> But first a more general question:  Why in the world are you still using 
>> sequence numbers in 73-80?

Legacy code is many source members in many PDS's. But that bring up another 
question: Is there a batch method to UNNUM all members in a list of PDS's?

>> I haven't had any use or need for sequence numbers in 73-80 on an MVS or 
>> derivative OS in over 3 decades.

As you can read, I am ready to kiss them goodbye.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Ward Able, Grant
>>> Is there a batch method to UNNUM all members in a list of PDS's?
I guess you would have to write an EDIT macro.
Then write a REXX exec to invoke that macro for each member 


Regards – Grant.

In theory, there's no difference between theory and practice. In practice, 
there is.

Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are. - John Wooden

If you don't have time to do it right, when will you have the time to do it 
over? - John Wooden




DTCC Public (White)

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Support, DUNNIT SYSTEMS LTD.
Sent: 10 December 2019 16:41
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

ATTENTION! This email originated outside of DTCC; exercise caution.

Hi Peter,

Thanks for your reply.

>> Maybe press the "Insert" key on your PC keyboard to overtype instead of 
>> inserting characters?
>> Or a combination of insert-on and insert-off typing?

Yes, I know that. My question was in hope that there might be some editor 
setting which keeps anything past a specific column as static, thereby 
mimicking the behavior of ISPF's editor.

>> But first a more general question:  Why in the world are you still using 
>> sequence numbers in 73-80?

Legacy code is many source members in many PDS's. But that bring up another 
question: Is there a batch method to UNNUM all members in a list of PDS's?

>> I haven't had any use or need for sequence numbers in 73-80 on an MVS or 
>> derivative OS in over 3 decades.

As you can read, I am ready to kiss them goodbye.

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
DTCC DISCLAIMER: This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error, please notify us 
immediately and delete the email and any attachments from your system. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Support, DUNNIT SYSTEMS LTD.
Thank you all for your responses. I suppose UNNUM it is!

One last Visual Studio question: is there a way to display a delimiter/margin 
line after column 72, so that it's easy to visual discern when I've "crossed 
over the line"?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Charles Mills
FWIW I would love that feature but I have never solved that on Notepad++. I 
wanted to make just column 72 display red so (a.) I would know if I crossed the 
line and (b.) I would know if I had my continuation character in the right 
place.

Most of the modern languages seem to be free format. There seems to be little 
support in modern tools for column dependencies.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Support, DUNNIT SYSTEMS LTD.
Sent: Tuesday, December 10, 2019 9:02 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

Thank you all for your responses. I suppose UNNUM it is!

One last Visual Studio question: is there a way to display a delimiter/margin 
line after column 72, so that it's easy to visual discern when I've "crossed 
over the line"?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Seymour J Metz
Modern? Other than assemblers, COBOL and Fortran, what was the last language 
that you saw with column dependencies?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3



From: IBM Mainframe Discussion List  on behalf of 
Charles Mills 
Sent: Tuesday, December 10, 2019 12:37 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

FWIW I would love that feature but I have never solved that on Notepad++. I 
wanted to make just column 72 display red so (a.) I would know if I crossed the 
line and (b.) I would know if I had my continuation character in the right 
place.

Most of the modern languages seem to be free format. There seems to be little 
support in modern tools for column dependencies.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Support, DUNNIT SYSTEMS LTD.
Sent: Tuesday, December 10, 2019 9:02 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

Thank you all for your responses. I suppose UNNUM it is!

One last Visual Studio question: is there a way to display a delimiter/margin 
line after column 72, so that it's easy to visual discern when I've "crossed 
over the line"?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Paul Gilmartin
On Tue, 10 Dec 2019 11:01:50 -0600, Support, DUNNIT SYSTEMS LTD.  wrote:

>Thank you all for your responses. I suppose UNNUM it is!
> 
+1
ISPF LM services has facilities to enumerate members and invoke
Edit in background for each, with an initial macro to remove line
numbers.

>One last Visual Studio question: is there a way to display a delimiter/margin 
>line after column 72, so that it's easy to visual discern when I've "crossed 
>over the line"?
>
Ah, there's the rub.  Could you just adjust your window size to 72 columns?

Might a FLOWASM enthusiast suggest an alternative?  Can FLOWASM be
embedded as an I/O exit for HLASM?  Both SYSIN and SYSLIB?  With
a mixture of Classic and free-form macros in SYSLIB?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Charles Mills
https://en.wikipedia.org/wiki/Comparison_of_programming_languages does not
even have a column for fixed versus free format.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Seymour J Metz
Sent: Tuesday, December 10, 2019 9:43 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

Modern? Other than assemblers, COBOL and Fortran, what was the last language
that you saw with column dependencies?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3



From: IBM Mainframe Discussion List  on behalf of
Charles Mills 
Sent: Tuesday, December 10, 2019 12:37 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

FWIW I would love that feature but I have never solved that on Notepad++. I
wanted to make just column 72 display red so (a.) I would know if I crossed
the line and (b.) I would know if I had my continuation character in the
right place.

Most of the modern languages seem to be free format. There seems to be
little support in modern tools for column dependencies.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Support, DUNNIT SYSTEMS LTD.
Sent: Tuesday, December 10, 2019 9:02 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

Thank you all for your responses. I suppose UNNUM it is!

One last Visual Studio question: is there a way to display a
delimiter/margin line after column 72, so that it's easy to visual discern
when I've "crossed over the line"?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Steve Thompson
RPG, RPG-II and another whose name I’ve forgotten. And yes, I have worked on or 
around these up to 2014. 

I have even worked on tools to convert them to another language. 

Sent from my iPhone — small keyboarf, fat fungrs, stupd spell manglr. Expct 
mistaks 


> On Dec 10, 2019, at 12:42 PM, Seymour J Metz  wrote:
> 
> Modern? Other than assemblers, COBOL and Fortran, what was the last language 
> that you saw with column dependencies?
> 
> 
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
> 
> 
> 
> From: IBM Mainframe Discussion List  on behalf of 
> Charles Mills 
> Sent: Tuesday, December 10, 2019 12:37 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Editing HLASM source with Visual Studio - columns 73-80
> 
> FWIW I would love that feature but I have never solved that on Notepad++. I 
> wanted to make just column 72 display red so (a.) I would know if I crossed 
> the line and (b.) I would know if I had my continuation character in the 
> right place.
> 
> Most of the modern languages seem to be free format. There seems to be little 
> support in modern tools for column dependencies.
> 
> Charles
> 
> 
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On 
> Behalf Of Support, DUNNIT SYSTEMS LTD.
> Sent: Tuesday, December 10, 2019 9:02 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Editing HLASM source with Visual Studio - columns 73-80
> 
> Thank you all for your responses. I suppose UNNUM it is!
> 
> One last Visual Studio question: is there a way to display a delimiter/margin 
> line after column 72, so that it's easy to visual discern when I've "crossed 
> over the line"?
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Paul Gilmartin
On Tue, 10 Dec 2019 09:56:50 -0800, Charles Mills wrote:

>https://en.wikipedia.org/wiki/Comparison_of_programming_languages does not
>even have a column for fixed versus free format.
> 
I understand Python is a special case: indention is syntactically
significant, governing nesting level.

Take "make" description files.  Please.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Seymour J Metz
My eyes!


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3



From: IBM Mainframe Discussion List  on behalf of 
Steve Thompson 
Sent: Tuesday, December 10, 2019 1:12 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

RPG, RPG-II and another whose name I’ve forgotten. And yes, I have worked on or 
around these up to 2014.

I have even worked on tools to convert them to another language.

Sent from my iPhone — small keyboarf, fat fungrs, stupd spell manglr. Expct 
mistaks


> On Dec 10, 2019, at 12:42 PM, Seymour J Metz  wrote:
>
> Modern? Other than assemblers, COBOL and Fortran, what was the last language 
> that you saw with column dependencies?
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
>
> 
> From: IBM Mainframe Discussion List  on behalf of 
> Charles Mills 
> Sent: Tuesday, December 10, 2019 12:37 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Editing HLASM source with Visual Studio - columns 73-80
>
> FWIW I would love that feature but I have never solved that on Notepad++. I 
> wanted to make just column 72 display red so (a.) I would know if I crossed 
> the line and (b.) I would know if I had my continuation character in the 
> right place.
>
> Most of the modern languages seem to be free format. There seems to be little 
> support in modern tools for column dependencies.
>
> Charles
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On 
> Behalf Of Support, DUNNIT SYSTEMS LTD.
> Sent: Tuesday, December 10, 2019 9:02 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Editing HLASM source with Visual Studio - columns 73-80
>
> Thank you all for your responses. I suppose UNNUM it is!
>
> One last Visual Studio question: is there a way to display a delimiter/margin 
> line after column 72, so that it's easy to visual discern when I've "crossed 
> over the line"?
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Support, DUNNIT SYSTEMS LTD.
Charles,

I just experimented with a very basic code and text editor called TextPad. I 
installed it, as well as a IBM Z-series Assembly Language syntax addon 
available from their site. I then went into >Configure>Preferences>Document 
Classes>Z/OS HLASM (the name I gave to files with an ASM suffix). There I 
checked on WORD WRAP LONG LINES and set WORD BREAK AT COLUMN NUMBER: 73. This 
at least prevents going past column 72.

It's very elementary but it works.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Dan Kelosky
VS Code doesn't really allow "overtype" via insert key: 
https://github.com/microsoft/vscode/issues/1012

You can use this though: 
https://marketplace.visualstudio.com/items?itemName=adammaras.overtype

Or, blow away sequence numbers as another suggested :)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Support, DUNNIT SYSTEMS LTD.
Hi Dan,

Thanks so much. That worked just fine for the INSERT key. Is there any way in 
VS to have some sort of a vertical column line or similar between columns 72 
and 73?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Dan Kelosky
I think so.  If you open the "command pallet" via Ctrl + Shift + P, then type 
in "Open Settings (JSON)", you can paste this in the top:

...
"[hlasm]": {
"editor.rulers": [
71,
72,
80
],
},
...

There's a graphical way to set this, but it's too complicated :).  This assumes 
the file extensions ends with one of:
".hlasm",
".asm",
".s",
".asmpgm",
".mac",
".asmmac"

Take care,
Dan

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Support, DUNNIT SYSTEMS LTD.
Thanks. Not working. Do I have a syntax boo-boo here?

{
"editor.wordWrapColumn": 120
},
"[HLASM]": {
"editor.rulers": [
71,
72,
80
],
}

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Dan Kelosky
It is JSON syntax, so I think you'd want something like this.
{
"editor.wordWrapColumn": 120,
"[HLASM]": {
"editor.rulers": [
71,
72,
80
]
}
}

You can use external tools to validate JSON: https://jsonlint.com/ 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Support, DUNNIT SYSTEMS LTD.
Thanks. Your JSON code passed with flying colors and I saved it but no ruler 
showed. I even tried this:

{
"editor.wordWrapColumn": 120,
"[HLASM]": {
"editorRuler.foreground": "#ff4081",
"editor.rulers": [
71,
72,
80
]
}
}

Still no rulers. :(

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Timothy Sipples
Keep an eye on the IBM Z Open Editor:

https://ibm.github.io/zopeneditor-about

There's no specific Assembler editor/awareness yet, but you can ask. In
fact, there's an open feature request already lodged for Assembler (and
REXX) support, and there's also a separate feature request to add a menu
option to remove sequence numbers. You can add "votes" if you like.

https://github.com/IBM/zopeneditor-about/issues


Timothy Sipples
IT Architect Executive, Industry Solutions, IBM Z & LinuxONE


E-Mail: sipp...@sg.ibm.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-11 Thread Oren, Yifat
Hi,

It works perfectly for me. Thanks Dan!

My settings.json looks like this:

{
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"window.zoomLevel": 1,
"files.associations": {
"*.s": "hlasm",
"*.asm": "hlasm"
},
"[hlasm]": {
"editor.rulers": [
71,
72,
80
],
},
"explorer.confirmDelete": false,
}

HTH,
Yifat

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Support, DUNNIT SYSTEMS LTD.
Sent: Wednesday, December 11, 2019 7:16 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: Editing HLASM source with Visual Studio - columns 73-80

Thanks. Your JSON code passed with flying colors and I saved it but no ruler 
showed. I even tried this:

{
"editor.wordWrapColumn": 120,
"[HLASM]": {
"editorRuler.foreground": "#ff4081",
"editor.rulers": [
71,
72,
80
]
}
}

Still no rulers. :(

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-11 Thread Support, DUNNIT SYSTEMS LTD.
Oren,

כל הכבוד!

My error was that "HLASM" should have been in lower case in the JSON code. All 
set (for the time being). Thanks, everyone!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-11 Thread Jantje.
On Tue, 10 Dec 2019 09:37:08 -0800, Charles Mills  wrote:

>FWIW I would love that feature but I have never solved that on Notepad++. I 
>wanted to make just column 72 display red so (a.) I would know if I crossed 
>the line and (b.) I would know if I had my continuation character in the right 
>place.
>

Settings/Preferences…
Editing
Vertical Edge Settings
Show Vertical Edge
Line mode
Number of columns 72

It does not change the colour, but it does draw a line.

Cheers,

Jantje.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-11 Thread Dan Kelosky
You can add the HLASM extension that I worked on (or any other VS Code 
extension) alongside IBM Z Open Editor / Zowe Explorer ( 
https://marketplace.visualstudio.com/items?itemName=Zowe.vscode-extension-for-zowe)
 today. 

It would be cool if https://github.com/IBM/zopeneditor-about contained the 
source code to allow 3rd party contributions instead of just issue tracking :)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-11 Thread Charles Mills
Nice! Thanks. I turned it on. Column 72, or maybe 71 would be better.

Wish I could put it in the language profile rather than global, but much of 
what I do in Notepad++ is either assembler or JCL. And it does not get in the 
way for Rexx or other free-form things.

Charles

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Jantje.
Sent: Wednesday, December 11, 2019 4:10 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

On Tue, 10 Dec 2019 09:37:08 -0800, Charles Mills  wrote:

>FWIW I would love that feature but I have never solved that on Notepad++. I 
>wanted to make just column 72 display red so (a.) I would know if I crossed 
>the line and (b.) I would know if I had my continuation character in the right 
>place.
>

Settings/Preferences…
Editing
Vertical Edge Settings
Show Vertical Edge
Line mode
Number of columns 72

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-11 Thread Clark Morris
[Default] On 10 Dec 2019 09:43:02 -0800, in bit.listserv.ibm-main
sme...@gmu.edu (Seymour J Metz) wrote:

>Modern? Other than assemblers, COBOL and Fortran, what was the last language 
>that you saw with column dependencies?

The 2002 and 2014 standards for COBOL allows for both fixed and free
form.  Some source maintenance systems rely on sequence numbers.

Clark Morris

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-12 Thread Seymour J Metz
I'm not arguing against sequence numbers, but my reasons for liking them have 
nothing to do with column dependence in the various languages.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3



From: IBM Mainframe Discussion List  on behalf of 
Clark Morris 
Sent: Wednesday, December 11, 2019 9:15 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Editing HLASM source with Visual Studio - columns 73-80

[Default] On 10 Dec 2019 09:43:02 -0800, in bit.listserv.ibm-main
sme...@gmu.edu (Seymour J Metz) wrote:

>Modern? Other than assemblers, COBOL and Fortran, what was the last language 
>that you saw with column dependencies?

The 2002 and 2014 standards for COBOL allows for both fixed and free
form.  Some source maintenance systems rely on sequence numbers.

Clark Morris

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN