I know you have it fixed by now, but just out of curiosity, does it produce the 
same error if you use a null string for the output?

  XXX = TRanslate(XXX,'','"')

---
Bob Bridges, [email protected], cell 336 382-7313

/* Doing the right thing is always doing the right thing. Even if nobody else 
is doing it.  -Reddit user LordCoale in _The Mercy of Humans_ */

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
ITschak Mugzach
Sent: Thursday, August 1, 2024 03:51

I know, this is a mainframe forum, but I know many of you use Regina.

Anyway, the command XXX = TRanslate(XXX,' ','"') get error msgs such as:
sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c": line 1: syntax error: unexpected end of file.

As you can see, I do use single quotes to enclose the double quotes. Any idea 
how to perform this translation? I also tried xxx = translate(xxx,'
','22'x) with same errors

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to