I have been searching for this answer and decided to just ask. I have a REXX exec that I am using to process every member of a PDS to do search and replace. However, when I invoke the EDIT command so I can run the edit macros (and change commands) the EDIT panel shows and waits until I press PF3 to exit. I want to EDIT behind the scenes without the panel being displayed. Can someone tell me how? Nothing I have tried works.
ADDRESS ISPEXEC "CONTROL NONDISPL"
ADDRESS ISPEXEC "EDIT DATAID("FILEID") MEMBER("MEMBER")"
IF RC = 0 THEN
DO
SAY editting MEMBER
address ispexec "ISREDIT FIND ' JOB '"
. . .
ADDRESS ISPEXEC "CONTROL NONDISPL"
ADDRESS ISPEXEC "EDIT DATAID("FILEID") MEMBER("MEMBER")"
IF RC = 0 THEN
DO
SAY editting MEMBER
address ispexec "ISREDIT FIND ' JOB '"
. . .