Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ISREDIT invoking

Status
Not open for further replies.

fantafanta

Programmer
Jul 7, 2010
4
GB
Hi Friends,

I have recently started rexx and i am fine with the progress.

I am now executig few ISREDIT commands. I want some basic information that how do these work(excuted).

I have created a member by name(PARM) in my pds which is linked to SYSEXEC and SYSPROC.

The code just accepts data and displays it in uppercase.
After opening the member if I type 'PARM fanta' its displays 'Data entered by you is: FANTA'.

But when I try to type anywhere else (i.e, after coming out of my member PARM) this doesn't work.

i.e, when I try to type 'PARM fanta' its says 'INVALID COMMAND PARM'


I think ISREDIT code should work anywhere right???
If I am wrong please correct me. I am wasting a lot of time just searching about the information in net.




 
It will helpsomeone help you if you post the code.

Also post the output of a trace of a problem execution of the code.
 
Below is my code:
Present in library : S64601.REXX.EXEC(PARM)


/* REXX INFO*/
ADDRESS ISREDIT "MACRO (DISP) NOPROCESS"
UPPER DISP
SAY "DATA ENTERED BY YOU IS: " DISP
 
What you posted shows no problem - it is just code. . .

To repeat:
Also post the output of a trace of a problem execution of the code.

Suggest you rename your code to some unique name rather than PARM. . .
 
I think ISREDIT code should work anywhere right???

Uh, no. ISREDIT is the command to invoke an ISPF Edit Macro function. ISPF Edit Macros can ONLY run from within an Edit or View session. You can't run ISREDIT outside of the ISPF Edit/View environment.
 
Hi Kevin

Is that ture that we can run ISREDIT commands within an Edit or View session (i.e, when we have opened the member contaning the ISREDIT code). If so, then what is the use of ISREDIT commands?
 
ISREDIT is used to process the commands in the macro against the file you are currently editing.

A macro can also be placed in the dataset selection panel and will be processed before the file is presented to you.

ANY TEXT dataset - not just the dataset/member that is the macro. It is a way of doing similar changes to many datasets.

Logic is provided by coding Rexx statements within the macro.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top