Author: Pedro
Subject: Reply to: Translating Quotes
Posted: Tue May 09, 2017 11:23 pm (GMT 5.5)
re:
Show us a trace. I get different results than you:
Your use of:
shows a misunderstanding of TRANSLATE. I think it should be:
_________________
Pedro Vera
Subject: Reply to: Translating Quotes
Posted: Tue May 09, 2017 11:23 pm (GMT 5.5)
re:
| Quote: |
| While running above code I am getting below error 'CALL"MODULE1"USING"' is not recognized as an internal command 'CALL"MODULE2"USING"' is not recognized as an internal command |
Show us a trace. I get different results than you:
| Code: |
| 11 *-* TRANSLATE(CALL_STMT,SPACES,SINGLE_QUOTE) >>> "CALL MODULE1 USING " INVALID KEYWORD, USING +++ RC(12) +++ |
Your use of:
| Code: |
| TRANSLATE(CALL_STMT,SPACES,SINGLE_QUOTE) |
shows a misunderstanding of TRANSLATE. I think it should be:
| Code: |
| call_stmt = TRANSLATE(CALL_STMT,SPACES,SINGLE_QUOTE) |
_________________
Pedro Vera