Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Remote access & x'5F' ("NOT") character

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
StanislavL

New User


Joined: 07 Apr 2009
Posts: 5
Location: SPb, RF

PostPosted: Fri Apr 10, 2009 4:09 pm    Post subject: Remote access & x'5F' ("NOT") character
Reply with quote

Hi, All! Sorry, if it's FAQ
What do people USUALLY do to obtain "¬" character in the source code ? icon_smile.gif
I use linux and c3270/x3270 clients to access MF. Copy-paste does not work well.
Now I have 2 solutions: 1. editor "hex" command icon_smile.gif 2. switch to french keyboard & press ALT+"~/`" icon_smile.gif
Is there a "normal" way ?

2nd: what's better if I want to download this source code to my PC & send it to anyone ? I mean - to avoid the problems with this character.
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


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

PostPosted: Fri Apr 10, 2009 4:20 pm    Post subject:
Reply with quote

Recentley posted: Alt + "1,7,0 on numeric keypad of PC keyboard" - not sure if it will really solve the purpose you are looking for . . .
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Fri Apr 10, 2009 4:38 pm    Post subject:
Reply with quote

back in the days when I wrote code for a 16K machine, I used 'NOT' in my logic.

last 20 years or so, I have just learned to code differently.
I am an adherent to the standard of avoiding NOT.
every language allows for the 'IF/ELSE' type of logic and a NOP for the IF.

tends to be easier to read.
I realize there is legacy code (as well as new code) that utilizes NOT,
and sometimes it is difficult to change the logic
or convincing the bean-counters to invest the time to introduce the change.

as Anuj indicated, holding down the ALT and then depressing 1 7 0 (ASC 170) will give you a ¬.

again thx to Terry Heinze for the tip.
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Apr 10, 2009 8:34 pm    Post subject:
Reply with quote

this would depend on the codepage that you emulator is using.
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: Fri Apr 10, 2009 9:29 pm    Post subject:
Reply with quote

Hello and welcome to the forum,

To facilitate seeing how one's current terminal emulator "sees" things, i keep a member that contains hex values from x'00' to x'FF'.

The last bit of the x'5x' line:
Code:
  ; ¬
 45454
 0E0F0
When i see the ¬ on the 3270 screen, it can easily be pasted into wherever. . .

As has been mentioned, it is probably a good idea to use an alternative to "not". . .
Back to top
View user's profile Send private message
StanislavL

New User


Joined: 07 Apr 2009
Posts: 5
Location: SPb, RF

PostPosted: Tue Apr 14, 2009 3:54 am    Post subject:
Reply with quote

So, there is no any "usual" solution...

ALT + 170 does not work in linux icon_smile.gif
(Of course, I can assign any character to any key. But it's not "usual")

As to the construction "... then nothing; else something;", it's unreadable...
Back to top
View user's profile Send private message
dominickim

New User


Joined: 28 Feb 2007
Posts: 65
Location: NS, CA

PostPosted: Tue Apr 14, 2009 4:33 am    Post subject: type @ and use 'c @ x'5f' all' at the end
Reply with quote

Sometimes I am using Linux with x3270 as well.
If it is REXX program, I use '/' instead of '¬', if it is JCL then I code '@' first and use TSO command below at the end. I don't think it is "usual", but it helps.

c @ x'5f' all
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Apr 14, 2009 4:51 am    Post subject:
Reply with quote

StanislavL,
Quote:
As to the construction "... then nothing; else something;", it's unreadable...


sounds as if you are justifying your coding practice.
i could almost hear you whining from here.
Back to top
View user's profile Send private message
StanislavL

New User


Joined: 07 Apr 2009
Posts: 5
Location: SPb, RF

PostPosted: Tue Apr 14, 2009 5:13 am    Post subject:
Reply with quote

dbzTHEdinosauer wrote:

sounds as if you are justifying your coding practice.


Sorry, sorry, sorry....
icon_pray.gif
2 or 3 times I was writing something like this in sh - because I always forget WHAT chagacter mean "NOT" there ... 353.gif

... And you can belive me: it's unreadable! icon_smile.gif icon_smile.gif icon_smile.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Apr 14, 2009 12:50 pm    Post subject:
Reply with quote

StanislavL,

It was unnecessary for me to have posted that comment.

I apologize.

though I did not say it, scripting languages without the use of NOT, can be unreadable.
Back to top
View user's profile Send private message
StanislavL

New User


Joined: 07 Apr 2009
Posts: 5
Location: SPb, RF

PostPosted: Wed Apr 15, 2009 3:10 pm    Post subject:
Reply with quote

I've just found that the character "¬" is used in regexp instead of "^" ... So, I have 2 other questions:
1. Where do we need "^" ?
2. Is it a good idea to modify local translation tables , to translate ASCII "^" <-> EBCDIC "¬" ?
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm
This topic is locked: you cannot edit posts or make replies. Limit access to certain RACF group cvnlynn CLIST & REXX 5 Wed Aug 23, 2017 2:28 am
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us