Re: REXX question: if a string is printable

2011-01-20 Thread Miklos Szigetvari
Hi Thank you very much , I'm using the routine bellow, to display MQ messages as text, and with "c2x" as hexa string Perfect , thank you again . On 1/19/2011 2:41 PM, Paul Gilmartin wrote: On Wed, 19 Jan 2011 04:15:39 -0600, Bruce Hewson wrote: Actually, this can be shortened to: Rea

Re: REXX question: if a string is printable

2011-01-19 Thread Elardus Engelbrecht
Put my REXX program (in previous post) in a batch job and type SE (not S) next to the job output in SDSF, and you get this nice output. READY EXEC '...(TEL)' 0 1 2 3

Re: REXX question: if a string is printable

2011-01-19 Thread Elardus Engelbrecht
Paul Gilmartin wrote: >FSVO "printable". Brackets? Braces? Caret? Tilde? >I couldn't live without most of those; I use them daily. Thanks for noting this. I tried this one to see what I get... /* REXX */ DO I = 0 TO 15 LYN = '' /* Two Single Quotes */ DO J = 0 TO 15 X =

Re: REXX question: if a string is printable

2011-01-19 Thread Paul Gilmartin
On Wed, 19 Jan 2011 04:15:39 -0600, Bruce Hewson wrote: >Actually, this can be shortened to: > >Readable:Procedure > to = "" > to = to || "" > to = to || "" > to = to || "" > to = to || " ...<(+|" > to = to || "&

Re: REXX question: if a string is printable

2011-01-19 Thread Bruce Hewson
Actually, this can be shortened to: Readable:Procedure to = "" to = to || "" to = to || "" to = to || "" to = to || " ...<(+|" to = to || "&.!$*);¬"

Re: REXX question: if a string is printable

2011-01-19 Thread Bruce Hewson
Miklos, I use this function:- Readable:Procedure from = "" Do i = 0 to 255 from = from || X2c(D2x(i)) End to = "" to = to || ""

Re: Antwort: REXX question: if a string is printable

2011-01-18 Thread Shmuel Metz (Seymour J.)
In , on 01/17/2011 at 12:47 PM, Michael Klaeschen said: >Subject: Antwort: REXX question: if a string is printable That's an answer, but not to the question Miklos asked. Your code determines whether a string contains anything but upper case alphanumerics and blanks. It is impossible

Re: REXX question: if a string is printable

2011-01-17 Thread Miklos Szigetvari
Hi Thank you very much On 1/17/2011 2:30 PM, Mark Zelden wrote: On Mon, 17 Jan 2011 12:09:46 +0100, Miklos Szigetvari wrote: Hi Any REXX function to decide if a string contains only printable characters? I'm sure there are different ways. Here is what I do in my IPLINFO exec for dis

Re: REXX question: if a string is printable

2011-01-17 Thread Mark Zelden
On Mon, 17 Jan 2011 12:09:46 +0100, Miklos Szigetvari wrote: >Hi > >Any REXX function to decide if a string contains only printable characters? > I'm sure there are different ways. Here is what I do in my IPLINFO exec for displaying subsystem names which often have non-display characters (I rep

Re: REXX question: if a string is printable

2011-01-17 Thread Elardus Engelbrecht
Miklos Szigetvari wrote: >:>Any REXX function to decide if a string contains only printable characters? Look at functions DATATYPE and VERIFY and then come back to Binyamin's question: Define "printable characters". Perhaps, you could place a list of 'printable characters' in 'reference' and u

Re: REXX question: if a string is printable

2011-01-17 Thread Binyamin Dissen
On Mon, 17 Jan 2011 12:09:46 +0100 Miklos Szigetvari wrote: :>Any REXX function to decide if a string contains only printable characters? Define "printable characters". -- Binyamin Dissen http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailbl

Antwort: REXX question: if a string is printable

2011-01-17 Thread Michael Klaeschen
ND; ELSE DO SAY '"'!!VAR.IND!!'" IS NOT VALID AT POSITION '!!MY_RC!!'.' END END EXIT 0 Miklos Szigetvari Gesendet von: IBM Mainframe Discussion List 17.01.2011 12:09 Bitte antw

Re: REXX question: if a string is printable

2011-01-17 Thread Cris Hernandez #9
nual myself tomorrow. --- On Mon, 1/17/11, Miklos Szigetvari wrote: > From: Miklos Szigetvari > Subject: REXX question: if a string is printable > To: IBM-MAIN@bama.ua.edu > Date: Monday, January 17, 2011, 6:09 AM > Hi > > Any REXX f

REXX question: if a string is printable

2011-01-17 Thread Miklos Szigetvari
Hi Any REXX function to decide if a string contains only printable characters? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the