View previous topic :: View next topic |
Author |
Message |
sumithar Beginner
Joined: 22 Sep 2006 Posts: 84 Topics: 29
|
Posted: Fri Jul 11, 2014 10:25 am Post subject: zOS 2.1 REGEX Square Brackets |
|
|
in z/OS 2.1 we can use REGEX to perform FIND operations in ISPF editor. Often this requires use of square brackets. Does anyone know how to type a Square Bracket symbol '[' or ']' on Reflection 3270 emulator?
Thanks! |
|
Back to top |
|
|
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Fri Jul 11, 2014 10:43 am Post subject: |
|
|
I'm using ver 14.1.75 and I don't know of a way to key them. They are X'5B' and X'5D' respectively but Reflection Attachmate displays them as "$" and ")". In decimal, they are 091 and 093. You might be able to map them via Setup and Keyboard... _________________ ....Terry |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
sumithar Beginner
Joined: 22 Sep 2006 Posts: 84 Topics: 29
|
Posted: Fri Jul 11, 2014 2:16 pm Post subject: |
|
|
OK, I can't make head or tail of that link, sorry! Where is the member CCNGMV2 even if i want to try and execute it?
I will stick with your notepad option- thanks for that... |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
sumithar Beginner
Joined: 22 Sep 2006 Posts: 84 Topics: 29
|
Posted: Mon Jul 14, 2014 9:20 am Post subject: |
|
|
Actually I had found that piece of code and uploaded it to our PDS that contains all the Edit macros. but I can't figure out how I use this to type in a square bracket- this seems to be concerned with displaying square brackets. Just for giggles I created a file on my PC with some square brackets and uploaded it to the host and opened it in the ISPF editor. It displayed the brackets like so
I typed CCNGMV2 on the command line and it changed it to this
Not very useful! |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Mon Jul 14, 2014 11:54 am Post subject: |
|
|
sumithar wrote: | Just for giggles I created a file on my PC with some square brackets and uploaded it to the host and opened it in the ISPF editor. It displayed the brackets like so
I typed CCNGMV2 on the command line and it changed it to this
Not very useful! |
Well what is the PC code list you have on the transfer ? You should have 1252. You seem to have translated the [ which is X'BA' and ] which is X'BB' but your transfer seem to translate them to X'AD' and X'BD' instead. So correct your PC-code page and you should be ok.
I transferred a file with [ and ] and it was sent as is
Code: |
Command ===>
****** ***********************
000001 [[[[[
BBBBB400004444444444444
AAAAA000000000000000000
------------------------------
000002 ]]]]]
BBBBB444444444444444444
BBBBB000000000000000000
------------------------------ |
_________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
sumithar Beginner
Joined: 22 Sep 2006 Posts: 84 Topics: 29
|
Posted: Mon Jul 14, 2014 1:07 pm Post subject: |
|
|
Thanks for that tip, Kolusu. I do my ftp from the command line, so I needed to execute this before my ftp
quote site sbd=(IBM-037,IBM-1252). |
|
Back to top |
|
|
|
|