View previous topic :: View next topic
|
Author |
Message |
callkris_cit
New User
Joined: 22 Apr 2006 Posts: 44
|
|
|
|
Hi All,
My requirment is as below:
If i press the PF10 Functional key then REPL .ZF .ZL command should execute.
How i will use the EDIT macro for this.
Thanks
Suresh |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
As far as I know, the REPLACE statement replaces members/datasets, not system labels...
O. |
|
Back to top |
|
|
callkris_cit
New User
Joined: 22 Apr 2006 Posts: 44
|
|
|
|
Hi ofer,
I don't want to change the system labels. If i press that key it should invoke the REPL .ZF .ZL command.
Is there any way to do that.
Thanks
Suresh |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I repeat - there is no such thing "REPL .ZF .ZL", since REPLACE is for members/dataset, and .ZL/.ZF are system labels !!!
O. |
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
hi callkris_cit,
There is a round about method...to achieve wht is required for u.
Create a EDIT Macro for REP .ZL .ZL and save it in a PDS say REPL.
Create a SETUP REXX program to concatinate your PDS with SYSPROC say in YOUR.REXX.PDS.
STEP 1:
Now Assign the Following value to one of the KEYS.
Say for suppose for F11:
TSO EX 'YOUR.REXX.PDS(SETUP)' EX LONG SET UP
STEP 2:
Assign REPL for your kEYS.
Now the setup is ready and your command executing is just a key stroke.
Note:
Step 1 need to be done only once. You need not do this each time you wan to execute the REPL command.
Let me know if any queries.
~Vamsi |
|
Back to top |
|
|
|