Re: Assembler Intrinsic Functions

2023-11-22 Thread Dave Clark
"IBM Mainframe Assembler List" wrote on 11/22/2023 12:15:30 PM: > We call those built-in functions. > > To remove quotes at start and end, it's DEQUOTE. > To un-double embedded quotes and ampersands, use DCVAL. > To double them back again, say for an MNOTE insert, use DOUBLE. > > The character

Re: Assembler Intrinsic Functions

2023-11-22 Thread Jonathan Scott
We call those built-in functions. To remove quotes at start and end, it's DEQUOTE. To un-double embedded quotes and ampersands, use DCVAL. To double them back again, say for an MNOTE insert, use DOUBLE. The character built-in functions cannot be nested, so to apply more than one to the same tex

Re: Assembler Intrinsic Functions

2023-11-22 Thread Dave Clark
OK, I've tested it now. I was expecting that DEQUOTE() would receive any of the caller's doubled-aposts as a single apost that, therefore, needed to be re-doubled. So, I removed the use of DOUBLE() and the results are usable. Thanks. Sincerely, Dave Clark -- int.ext: 91078 direct:

Re: Assembler Intrinsic Functions

2023-11-22 Thread Dave Clark
So, is the following arrangement kosher? Meaning, if the caller of my macro happens to code a double-apostrophe in one of these arguments, will the following arrangement successfully prepare that value for the DC statement? Obviously, I could test this, but I'm also interested in any

Re: Assembler Intrinsic Functions

2023-11-22 Thread Dave Clark
David L Clark/it/crp/WinWholesale wrote on 11/22/2023 10:19:21 AM: > I recently saw someone post some macro code in which an, > apparently, intrinsic function was used to remove quotes from around > a parameter. It registered at the time but now I need it and can't > remember more about it. Hin

Assembler Intrinsic Functions

2023-11-22 Thread Dave Clark
I recently saw someone post some macro code in which an, apparently, intrinsic function was used to remove quotes from around a parameter. It registered at the time but now I need it and can't remember more about it. Hints? Also, where can I find a list of these types of intrinsic fun