1. If you are in a ISPF Screen and want to know in which TSO Region ( Development,Production, or other TSO regions) you are now, try this:
Issue on the command line : SAREA
ISPF STATISTICS Pop-up window will show you the region and other info too.
Re: ISPF Tips.
Posted: Tue May 28, 2013 8:29 pm
by Anuj Dhawan
2. When you try to open any member in a PDS or a File and gets "member in use" message. Press F1 twice, to know who is using the member currently.
Re: ISPF Tips.
Posted: Fri Jun 07, 2013 11:44 pm
by Anuj Dhawan
3. How can I find the last 10 data-sets that I have accessed ?
GO TO ISPF 3.4 option.
On the top, there is a MENUBAR. Select REFLIST
Select Option 1 in it.
Using this option you can find out the last 30 data-sets that you have accessed.
Re: ISPF Tips.
Posted: Fri Jun 14, 2013 11:32 am
by Anuj Dhawan
Please Note: There are some features that are available to ISPF version 5.0 and over. For example, you can have up to 12 logically split screens in a TSO session. Earlier versions allowed for only 8. Another one is that when you attempt a move or copy member the target data-set had to exist previously. With newer ISPF (greater than version 5.0), the copy/move option prompts to create a target data-set.
I'd request readers to keep these points in mind.
Thanks 'gain for stopping by,
Re: ISPF Tips.
Posted: Fri Jun 14, 2013 12:55 pm
by Anuj Dhawan
4. Usually the PDS or PS will show the ID of the person who modified it recently.But is it possible to change these ID values without leaving trace of one’s own ID?
The answer is - Yes its possible! In the command area against the member name or PS name, by giving ‘G’. Dialog box will pop up allowing you to change the ID values.
Okay, don't misuse it and there are ways capture the misuse, fwiw!
Re: ISPF Tips.
Posted: Sun Jun 23, 2013 9:16 pm
by Anuj Dhawan
5. To view two locations within an edited member at the same time, exclude the intervening lines by using the “XX” block command. Individual lines may be excluded by the line command “X”.
When a line is excluded, it is simply excluded from the display. It is not in any way modified or deleted.
Re: ISPF Tips.
Posted: Mon Jul 29, 2013 8:35 pm
by Anuj Dhawan
6. HX - ISPF editor line command displays hex in a vertical format
***************************** Top of Data ******************************
THIS IS TO SHOW HX LINE COMMAND.
ECCE4CE4ED4ECDE4CE4DCDC4CDDDCDC44444444444444444444444444444444444444444
3892092036028660870395503644154B0000000000000000000000000000000000000000
-----------------------------------------------------------------------
THIS IS NOT TO SHOW HX LINE COMMAND.
**************************** Bottom of Data ****************************
Re: ISPF Tips.
Posted: Mon Jul 29, 2013 11:28 pm
by Anuj Dhawan
7. If you use HX 'n' -- "n" number of lines will be displayed in hexadecimal format. If you do not type a number, or if the number you type is 1, only the line on which you type HX is displayed in hexadecimal format, as shown in above example.
Re: ISPF Tips.
Posted: Sun Aug 04, 2013 1:24 am
by Anuj Dhawan
Re: ISPF Tips.
Posted: Tue Aug 06, 2013 3:29 pm
by Anuj Dhawan
9. COL/COLS: The line command ‘COL’ (or ‘COLS’) inserts a column heading line in your edit display at that line location, as shown below
File Edit Edit_Settings Menu Utilities Compilers Test Help
-------------------------------------------------------------------------------
VIEW T1234AD.FIRST.FILE Columns 00001 00072
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
000001 1234
000002 5678
000003 9101
****** **************************** Bottom of Data ****************************
The column line can be removed by a Delete line command (‘D’ line command), or by entering the primary command RESET.
I find the column line especially useful when editing a dataset and finding where the fields begin and end within a record or when working with SYSIN data. It is also useful for locating certain column positions when writing programs and your shop necessitates some special column positions for you.
In edit and view mode, the COLS command is a line command. In browse mode, the COLS command is entered in the primary command line.
Re: ISPF Tips.
Posted: Wed Aug 07, 2013 12:20 am
by Anuj Dhawan
Re: ISPF Tips.
Posted: Wed Aug 07, 2013 1:31 am
by Robert Sample
On the tip about Excluding Lines of Text:
Note 1: a handy adjunct to the exclude function is the FLIP primary command. FLIP reverses the exclude status of all lines (default) or selected lines (by using options) so all excluded lines display while all non-excluded lines become excluded.
Note 2: the CHANGE (C) primary command allows use of X option (to apply only to excluded lines) or NX (to apply only to non-excluded lines.
The above primary command will exclude all lines in the member/file which contain the string ‘ANUJ’.
Re: ISPF Tips.
Posted: Wed Aug 21, 2013 4:29 pm
by Anuj Dhawan
14. DELete Command: In continuation with command EXclude stated in Tip-13, the phenomenon of excluding lines can also be used for selectively deleting lines from a member. You can do a "mass-delete" of lines too.
The above command, when issued on command line, finds first occurrence of string aaa. Note that the arguments are not positional and may be specified in any order desired - that means, “F FIRST aaa” and “F aaa FIRST” will behave same.
Re: ISPF Tips.
Posted: Mon Sep 02, 2013 1:32 am
by Abhishek Awasthi
Thanks you for sharing theses Anuj - they are very helpful.
Re: ISPF Tips.
Posted: Mon Sep 02, 2013 3:06 pm
by Anuj Dhawan
Thanks for the feedback!
Re: ISPF Tips.
Posted: Fri Sep 06, 2013 11:44 am
by Anuj Dhawan
17. To clear off the PF keys that are shown at the bottom of ISPF panels: Use command ‘PFSHOW OFF’ on command line. If you want to turn it on, issue ‘PFSHOW ON’.