Hello everyone, I've had great luck in the cobol forums so I hope I do here as well.
I am trying to figure out how to write an easy rexx script to take care of a set of commands I use all day long.
Here is what I have written:
/* REXX TO GET RID OF ALL OF THOSE ANNOYING EJECTS AND SKIPS */
ADDRESS ISREDIT "MACRO PROCESS
ADDRESS ISREDIT "CHANGE 'EJECT' ' ' ALL WORD
ADDRESS ISREDIT "CHANGE 'SKIP1' ' ' ALL WORD
ADDRESS ISREDIT "CHANGE 'SKIP2' ' ' ALL WORD
ADDRESS ISREDIT "CHANGE 'SKIP3' ' ' ALL WORD
ADDRESS ISREDIT "RESET CHG
SAY "WHY IS THIS EXECUTING THE TSO PART BUT NOT THE ISPF PART?"
EXIT 0
The problem is that I cannot figure out how to execute it!!
Using error messages as my guide, I managed to do the following:
I put it in a library called 'a551900.jyeject.clist' under the name TEMPNAME.
This allows me to call it from command line of a member being edited by typing in:
TSO EXEC JYEJECT
However, this seems to execute the TSO part, because the message prints along with the ***, but when it goes back to the member being edited, there is no change.
Any help would be appreciated, I am hoping the problem isn't shop specific.
I am trying to figure out how to write an easy rexx script to take care of a set of commands I use all day long.
Here is what I have written:
/* REXX TO GET RID OF ALL OF THOSE ANNOYING EJECTS AND SKIPS */
ADDRESS ISREDIT "MACRO PROCESS
ADDRESS ISREDIT "CHANGE 'EJECT' ' ' ALL WORD
ADDRESS ISREDIT "CHANGE 'SKIP1' ' ' ALL WORD
ADDRESS ISREDIT "CHANGE 'SKIP2' ' ' ALL WORD
ADDRESS ISREDIT "CHANGE 'SKIP3' ' ' ALL WORD
ADDRESS ISREDIT "RESET CHG
SAY "WHY IS THIS EXECUTING THE TSO PART BUT NOT THE ISPF PART?"
EXIT 0
The problem is that I cannot figure out how to execute it!!
Using error messages as my guide, I managed to do the following:
I put it in a library called 'a551900.jyeject.clist' under the name TEMPNAME.
This allows me to call it from command line of a member being edited by typing in:
TSO EXEC JYEJECT
However, this seems to execute the TSO part, because the message prints along with the ***, but when it goes back to the member being edited, there is no change.
Any help would be appreciated, I am hoping the problem isn't shop specific.