Bob, I tried it. It doesn't fail, just not translating. BTW, this program has 21K lines of code and Regina runs it very well.
xxx = 'abcd$' xxx = Translate(xxx,'','"') Say xxx '==' exit response is 'abcd$ == Best, ITschak *| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux and IBM I **| * *|* *Email**: [email protected] **|* *Mob**: +972 522 986404 **|* *Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il **|* On Thu, Aug 1, 2024 at 11:01 PM Bob Bridges < [email protected]> wrote: > 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 > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
