View previous topic :: View next topic |
Author |
Message |
Himesh CICS Forum Moderator
Joined: 20 Dec 2002 Posts: 80 Topics: 21 Location: Chicago
|
Posted: Mon Dec 30, 2002 6:57 am Post subject: Useful ISPF commands (to make LIFE somewhat simpler!) |
|
|
Simple and damn useful commands ...
DSLIST |
|
Back to top |
|
|
nxn00 Beginner
Joined: 02 Dec 2002 Posts: 18 Topics: 0 Location: US
|
Posted: Tue Dec 31, 2002 9:08 am Post subject: |
|
|
Himesh,
This is good info.
I changed my PF keys long ago to incorporate some of this:
PF12 RETRIEVE
PF13 SWAP LIST
Use PF keys for your own needs. If there is something that you do a lot, set a PF key to do it for you. _________________ Natalie |
|
Back to top |
|
|
naveen Beginner
Joined: 03 Dec 2002 Posts: 90 Topics: 31
|
Posted: Tue Dec 31, 2002 9:24 am Post subject: |
|
|
Some more:
EPDF:
The EPDF primary command can be used to browse,view or edit data
sets from ANY ISPF command line.
Example: EPDF 'ID.DATASET' B
will open dataset in browse mode; default is EDIT mode. You can use V (View) also.
SAVE:
SAVE command can be used to capture list of datasets.
Example : SAVE DSETLIST will store the current dataset list into a dataset called 'ID.DSETLIST.DATASETS'
APPEND:
The APPEND command can be used to add datasets to an existing ISPF 3.4 display.
Example: APPEND *.C can be used to add datasets with names of the form 'ID.*.C' to the current dataset list.
Last edited by naveen on Tue Dec 31, 2002 9:48 am; edited 3 times in total |
|
Back to top |
|
|
naveen Beginner
Joined: 03 Dec 2002 Posts: 90 Topics: 31
|
Posted: Tue Dec 31, 2002 9:25 am Post subject: |
|
|
Himesh,
If there is RETP ( Retrieve Previous ) then there is RETF (Retrieve Forward)also; but no scrollable list for RETF .
Last edited by naveen on Tue Dec 31, 2002 9:46 am; edited 1 time in total |
|
Back to top |
|
|
naveen Beginner
Joined: 03 Dec 2002 Posts: 90 Topics: 31
|
Posted: Tue Dec 31, 2002 9:37 am Post subject: |
|
|
All MVSFORUMS user,
I have an idea to present.
In this very thread started by Himesh, We are finding some of the shortcuts/tricks of ISPF which are always good to know. I know of some more tricks which I can share over here and I am sure we all are knowing few or many such tricks and shortcuts which we are using , but all are not aware of those tricks. Let us all , put all such shortcuts/tricks/alternatives related to ISPF over here and contribute towards making an Extensive repository here , which will contain all the Shortcuts/Tricks of ISPF which were somewhere in our minds.
What others have to say? All opinions Welcome. |
|
Back to top |
|
|
nxn00 Beginner
Joined: 02 Dec 2002 Posts: 18 Topics: 0 Location: US
|
Posted: Tue Dec 31, 2002 10:27 am Post subject: |
|
|
Naveen,
This is a great idea.
Kolusu,
Perhaps this could be an option from the main menu and not part of the Help Boards. Please send me an email if you want help with editing, testing, etc. _________________ Natalie |
|
Back to top |
|
|
Ashish Jain Beginner
Joined: 09 Dec 2002 Posts: 15 Topics: 0 Location: India
|
Posted: Wed Jan 01, 2003 11:44 pm Post subject: |
|
|
Even EPDF can be cut short to ED |
|
Back to top |
|
|
Himesh CICS Forum Moderator
Joined: 20 Dec 2002 Posts: 80 Topics: 21 Location: Chicago
|
Posted: Thu Jan 02, 2003 2:55 am Post subject: |
|
|
Thanks for the responses.
We could start 'discussion topics' like this thread (in the appropriate sections), whenever we have information to share, which will definitely prove useful to Others.
This will make MVSFORUMS not only a great site for online solutions but also, a large repository of useful information/tips/tricks.
Extending what Natalie and Naveen said, if anyone has any information that could be used, he/she could start a thread with the subject appropriately titled (so that it will turn up in the Search) and Others will naturally update the same. This way we could get to learn new things.
regards,
Himesh |
|
Back to top |
|
|
naveen Beginner
Joined: 03 Dec 2002 Posts: 90 Topics: 31
|
Posted: Thu Jan 02, 2003 3:05 am Post subject: |
|
|
Ashish,
There is a little difference between EPDF and ED.
Try this:
Just type "ED" on command line , an 'EDIT ENTRY PANEL' will open up,
where as just typing 'EPDF' will show you help related to EPDF.
EPDF doesn't support panel open-up.
I'd be interested in knowing the difference between such commands.The
vague idea , which I am having is that , 'ED' is some sort of Edit CLIST where as 'EPDF' is an EDIT primary command which will work everywhere.
Others Please suggest. |
|
Back to top |
|
|
Ashish Jain Beginner
Joined: 09 Dec 2002 Posts: 15 Topics: 0 Location: India
|
Posted: Thu Jan 02, 2003 4:07 am Post subject: |
|
|
ED and EPDF are not CLISTs. Instead they are shortcuts defined in your Command Table. Not necessarily present everywhere.
Action for ED is generally defined as SELECT CMD(%EDBRO EDIT .&ZPARM) PASSLIB NEWAPPL(ISP)
While,
Action for EPDF is generally defined as SELECT CMD(%ISREPDF &ZPARM) NEWAPPL(ISR) SUSPEND.
EDBRO and EPDF can be a Clist or REXX put in into your SYSPROC or SYSEXEC. So the difference is coz of the way these Clist or REXX have been written.
One can change the actions related to these shortcuts. |
|
Back to top |
|
|
vallishar Beginner
Joined: 17 Dec 2002 Posts: 53 Topics: 14 Location: BengaLuru
|
Posted: Tue Jan 07, 2003 7:21 pm Post subject: |
|
|
As Ashish said, our shop EPDF doesnt work.
Where do I need to do the change ? Suggestions Pls. _________________ If you're not failing every now and again, it's a sign you're not doing anything very innovative. |
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue Jan 07, 2003 8:45 pm Post subject: |
|
|
As Ashish said, the change goes in the ISPF command table. ISREPDF is available as part of ISPF. It was added to the command table in one of the more recent ISPF releases.
I'd add these:
CRETRIEV (assigned to a PF key)
Conditional RETRIEVE. if the cursor is not on the command line, it moves it there. If it is, it acts like RETRIEVE.
NRETRIEV (assigned to a PF key)
Retrieves the data set names you typed in to many of the panels. It also retrieves some other dsnames names or names you have in your personal data set and library lists. It doesn't appear to be in the books! See the ISPF tutorial index.
AUTOTYPE (assigned to a PF key)
Finishes typing partial library, dataset, and member names. Accepts patterns too. Again, see the ISPF help index.
START operand
Start a new screen. Best if a PF key such as PF9 is set to SWAP NEXT.
RESIZE
Change popups in full screen and back.
SETTINGS
Immediate access to option 0
KEYLIST OFF
The best ISPF command ever made after keylists were introduced (the worst change ever made to ISPF). |
|
Back to top |
|
|
DaveyC Moderator
Joined: 02 Dec 2002 Posts: 151 Topics: 3 Location: Perth, Western Australia
|
Posted: Wed Jan 08, 2003 8:36 am Post subject: |
|
|
semigeezer,
I tried KEYLIST OFF, but unfortunatly now I cannot use HCD or the ISPF workplace
I semi appreciate your point though... _________________ Dave Crayford |
|
Back to top |
|
|
Ashish Jain Beginner
Joined: 09 Dec 2002 Posts: 15 Topics: 0 Location: India
|
Posted: Wed Jan 08, 2003 10:38 am Post subject: |
|
|
Lets move to RACF............
Few MOST COMMON commands
ADDSD 'data-set-name' UACC(access-authority)
Create a discrete profile to protect a cataloged data set
PERMIT 'profile-name' ID(user-ID|group-name) ACCESS(level)
Permit an individual or a group to use a data set
LISTDSD DATASET('data-set-name') ALL
Find out how a data set is protected
SEARCH
Check what data set profiles you have
DELDSD 'profile-name'
Delete a data set profile
ALTDSD 'profile-name' UACC(access-authority)
Change a data set's universal access authority
LISTUSER
To list the details of specific RACF user
......I am looking for something esoteric ! |
|
Back to top |
|
|
naveen Beginner
Joined: 03 Dec 2002 Posts: 90 Topics: 31
|
Posted: Thu Jan 09, 2003 2:08 am Post subject: |
|
|
Its time for SDSF:
Try these commands on S.H . S.I , S.O , S.DA
1. FILTER
On the command line type FIL ?
This will open up a panel, where in we can type filter criteria. Type a "/" in the 'Column' or 'Oper' fields for valid values.
2. SORT
On command line type SORT ?
This will open a list where in we can type 1 or 2 column names and A or D
for ascending or descending order. All columns will be listed in the opened up panel.
3. ARRANGE
On the command line type ARR ?
This will bring the complete list of SDSF column names. We can move the columns around using "/" and "//".
4. Type S next to one of a jobs outputs and it opens up in browse session.
5. Type SE (uses ISPF Edit) next to one of a jobs outputs and it comes up in an edit session.
6. Typing SB (uses ISPF Browse) instead will bring up job output in browse session.
(Typing only S also does the same.)
7. Type SJ (uses ISPF Edit to edit the JCL) next to a job in the H or output queue and it displays job submission JCL in an edit session.
8. QUERY AUTH
On command line type QUERY AUTH
Displays the SDSF commands for which you are authorized. It only displays commands that require authorization.
It will display a message line showing authorized commands like this:
'AUTH=DA, DEST, FINDLIM, H, I, INPUT, O, OWNER, PREFIX, ST, SYSNAME'
9. WHO
On command line type WHO
Displays the following information about the user:
User ID, TSO logon procedure, terminal identification, and index number and name of the group in ISFPARMS. Also shows the levels of MVS, JES, SDSF, ISPF, and RMF; whether the SDSF server is in use, the server name, the JES2 subsystem name and member name, and the MVS system name.
10. ON command line type SET HEX ON
Displays the output data set or log panel for current session in HEXadecimal
11. Type XDC next to one of a jobs outputs and it will open up an 'SDSF Open Print Data Set' panel, where in we can provide a dataset name to store the job output. |
|
Back to top |
|
|
|
|