Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
macro needed to navigate to Endevor.
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
Gaurav Chauhan

New User


Joined: 29 Oct 2007
Posts: 9
Location: Pune

PostPosted: Tue Jun 10, 2008 2:36 pm    Post subject: macro needed to navigate to Endevor.
Reply with quote

I use this to navigate to Endevor option "Display Elements/Component" -:
START V.EC → 1 →1 → 1 →1

I need a macro to automate this.

Basically I need to position the cursor on command-line....Then send "START V.EC;1;1;1;1" to ISPF

Thanks
Gaurav
Back to top
View user's profile Send private message
References
Moved: Tue Jun 10, 2008 2:41 pm by superk From CLIST & REXX to TSO/ISPF
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 191
Location: India

PostPosted: Tue Jun 10, 2008 4:09 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

Gaurav,
Do you always want to browse the elements from only one envionment.
if so, how many environments

first one 1st - environment (may vary depends on your requirement to browse the elements)

Second one 3nd - Display option (constant in Endevor main panel_

thrid 1 - Element display option (to give all options)

please check back your requirement because usually it's not only required to browse for one environment.
Back to top
View user's profile Send private message
Gaurav Chauhan

New User


Joined: 29 Oct 2007
Posts: 9
Location: Pune

PostPosted: Tue Jun 10, 2008 4:22 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

For mainframe that I'm using navigation is 1;1;1 once I log into Endevor.

Thing is that I want to issue "START 3.4;1;1;1" at command line in ISPF panel to navigate to 'Display Elements/Component Lists' Option.
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 191
Location: India

PostPosted: Tue Jun 10, 2008 5:26 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

Gaurav,
The display option is 1 in all Endevor panels because it's a 3rd party product.

it was my mistake I printed 3 as second one.

my question is you might have a different number of environments which is completely site specific. So do you always want to go to environment assigned to option:1.

If so then you can use same macro always.
Back to top
View user's profile Send private message
Gaurav Chauhan

New User


Joined: 29 Oct 2007
Posts: 9
Location: Pune

PostPosted: Tue Jun 10, 2008 6:04 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

I'll be using ENVIRONMENT 1 only...

So that makes the navigation as "START V.EC;1;1;1;1" as against "START 3.4;....." wrongly mentioned previously.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1633
Location: germany

PostPosted: Tue Jun 10, 2008 7:03 pm    Post subject:
Reply with quote

Macro??? why don't you people start using the proper terminology?


what you want is a tso or ispf command to jump you there. why not dedicate a pf key to this?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1148
Location: Mumbai - India

PostPosted: Wed Jun 11, 2008 4:32 am    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

Dick,

Quote:
why not dedicate a pf key to this?


Curious to know as to how this can be done.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 526
Location: work

PostPosted: Wed Jun 11, 2008 5:01 am    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

A PF key is just a shortcut for issuing commands. For example, instead of pressing F2, you can actually type the word SPLIT on the command line and press Enter.

Type KEYS in the command line and press Enter. A panel will display with the current PF key definitions. Pick a less frequently used key (such as 13-24) and replace the values:
Code:
                                                                       
 Key       Definition                         Format  Label     
 F13  . .  START V.EC;1;1;1;1                 SHORT   Endevor     
 F14  . .  tso %telephon                      LONG    tele

It will work as if you typed that value in the command line and pressed Enter.
Back to top
View user's profile Send private message
Gaurav Chauhan

New User


Joined: 29 Oct 2007
Posts: 9
Location: Pune

PostPosted: Wed Jun 11, 2008 10:04 am    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

Yeah it works...
But still wanted to know how to issue ISPF commands thru REXX and make this work through REXX.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 526
Location: work

PostPosted: Wed Jun 11, 2008 9:26 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

Use ISPF option 3.9 to look at the ISP command table. You will find the definition of START there:
Code:
Verb      T  Action                                 
START     0  SELECT PGM(ISPSTRT) PARM(&ZPARM)       


from which you can deduce how to perform the same action in your rexx program:
Code:
/* rexx */
Address ISPEXEC
"SELECT PGM(ISPSTRT) PARM(V.EC;1;1;1;1)"

The example above is untested, but should work. icon_wink.gif

fyi. Not all of us are native English speakers. And this is a forum for technical discussions... for the sake of clarity, it would be appreciated if you did not use chat jargon and abbreviations here. Thanks.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 526
Location: work

PostPosted: Wed Jun 11, 2008 11:35 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

Likewise, you may be able to use ISPF option 3.9 to create your own commands! A panel titled 'Command Table Utility' should display and tell you what command tables can be used. Our system has a 'USR' command table. Using that name as an example, it will be a member named USRCMDS as a member in your ISPTLIB concatenation.

You can add an ENDEVOR command there, rather than creating a rexx program.
Code:
Verb      T  Action                                 
ENDEVOR     0  SELECT PGM(ISPSTRT) PARM(V.EC;1;1;1;1)


You can type ENDEVOR in any command line.
Back to top
View user's profile Send private message
Gaurav Chauhan

New User


Joined: 29 Oct 2007
Posts: 9
Location: Pune

PostPosted: Thu Jun 12, 2008 11:00 am    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

Many thanks....Its working perfectly now
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 191
Location: India

PostPosted: Thu Jun 12, 2008 12:11 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

Thanks much Pedro, Learned one more new thing today.

I tried using your last suggested method of setting up in 3.9 option

Specifications
Application ID . . ISR
Enter "/" to select option
Show description field

After hit Eneter : next panel is

The command table is currently open, it cannot be modified. Use the view(V)
row command to see an entire entry.

Verb T Action
JCL 0 SELECT PGM(ISPSTRT) PARM(L.E)


I want to edit this command but it's not allowing, can you tell me how can i achieve this
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 191
Location: India

PostPosted: Thu Jun 12, 2008 12:17 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

secondly, if I want to go to a specific dataset with one command using the option given by you 3.9, how can i try that because after 3.4 option we need to place the cursor @ DSN name filed instead of command field to give dataset name

can we also do shifting cursor in same command
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 526
Location: work

PostPosted: Thu Jun 12, 2008 8:54 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

1. as you found out, you cannot edit an open table. That is why there are user and site command tables. I recommend you use those instead of trying to update the ISPF command table.


Quote:
i want to go to a specific dataset...

2. It is not clear what you mean by 'go to'



Quote:
becoz

fyi. Not all of us are native English speakers. And this is a forum for technical discussions... for the sake of clarity, it would be appreciated if you did not use chat jargon and abbreviations here. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 HoursGoto page 1, 2  Next
Page 1 of 2