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 Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 176
Location: India

PostPosted: Fri Jun 13, 2008 11:07 am    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

apologize for my jargon..

So I want to use User table and want to delete the current setup of system table. Any way to delete so..?

Lets take an example..

want to go directly to members in a dataset (abc.def.hdf)

to go from ISPF we have to give 3. then 4(option) then move the cursor to " Dsname Level . . ." from command line.

So if I want to set this entire options in a user command table, how can i achieve this because we can setup for the options giving in command prompt line but how can I shift to next cursor position in same option.

please let me know if you are not clear
Back to top
View user's profile Send private message
References
PostPosted: Fri Jun 13, 2008 11:07 am    Post subject: Re: Reply to: macro needed to navigate to Endevor. Reply with quote

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 322
Location: work

PostPosted: Fri Jun 13, 2008 9:34 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

1. It is not clear to me what you want to delete. You cannot delete the entire table - ISPF will not function very well without it.

2. The tables are all processed in order, from top to bottom as listed in ISPF option 3.9. If you type a command, ISPF searches for the command in each table until found and does the process described there. There are up to three user tables. See the ISPF Customization manual for adding your user command tables.


3. It is still not clear what you want to do! Do you want to go to a member list of a particular dataset? Or just to move the cursor to name in the dataset list?
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 176
Location: India

PostPosted: Mon Jun 16, 2008 11:27 am    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

I will try to explain in example..
lets say i want to see members in a dataset (aaa.bbb.ccc) daily. so i am doing now with below options
ISPF 3 > 4 > cursor on command line > shift the cursor to DSN level to place my dataset name and > Hit enter to get members in a dataset.

I would like to do all this functions in a single command using your suggestions.

I am able to put all commands in one statement which we have to give in command/option line. but for the commands to give in other than option command line , not sure how to put in statement where assigning to verb/pf key
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 322
Location: work

PostPosted: Mon Jun 16, 2008 10:17 pm    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

Quote:
i want to see members in a dataset ...

>shift the cursor to DSN level to place my dataset name and
> Hit enter to get members in a dataset.


I think you are missing some steps. When you press Enter, you get a list of datasets (but in this case, I think you only get one name in the list. Then you can select the dataset by pressing B (for browse), E (for edit), etc...

If you just put the cursor on the line with the dataset name and press Enter, you get a popup panel with possible actions. But to do those things from a rexx program, you do not have to follow the same 'keystrokes' as you describe. Just call the service directly!

for browse:
Code:
/* rexx*/
Address ISPEXEC "BROWSE DATASET('aaa.bbb.ccc')"


for view:
Browse:
Code:
/* rexx*/
Address ISPEXEC "VIEW DATASET('aaa.bbb.ccc')"


for member list:
Code:
/* rexx*/
Address ISPEXEC                                                   
"LMINIT   DATAID(DID) DATASET('aaa.bbb.ccc') ENQ(SHRW)"                 
"LMOPEN  DATAID("did")"   
"MEMLIST DATAID("did") CONFIRM(YES)"
"LMFREE   DATAID("did")"


You can learn more about calling ISPF services by reading the ISPF Services Guide.
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 176
Location: India

PostPosted: Tue Jun 17, 2008 10:42 am    Post subject: Reply to: macro needed to navigate to Endevor.
Reply with quote

I got what I am looking for.
Thanks alot for your time Pedro.
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 Previous  1, 2
Page 2 of 2