I'm using an edit macro in REXX where I'm trying to find for a word containing '&'
Eg. 'Find all DSN=XXXX(&MEM)'
For some reason, this command returns a RC of 4 (String not found) in the macro. But if I copy the same command and apply directly in the command line of the edited dataset, the search string is found. Also, all other search strings without any '&' sign works fine in the same macro.
Is there any specifc character of ISPF or REXX that doesn't allow the usage of '&' in the search string?
Any information about this would be really helpful. Thanks.