IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Hoe to Map REPL .ZF .ZL command to PF10 Key


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
callkris_cit

New User


Joined: 22 Apr 2006
Posts: 44

PostPosted: Thu Sep 21, 2006 12:44 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Sep 21, 2006 12:46 pm
Reply with quote

As far as I know, the REPLACE statement replaces members/datasets, not system labels... icon_eek.gif

O.
Back to top
View user's profile Send private message
callkris_cit

New User


Joined: 22 Apr 2006
Posts: 44

PostPosted: Thu Sep 21, 2006 12:50 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Sep 21, 2006 12:55 pm
Reply with quote

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
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Sep 21, 2006 1:34 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top