- Issue on the command line : SAREA
ISPF STATISTICS Pop-up window will show you the region and other info too.
ISPF Tips.
Forum rules
All of these Tips/Tuning-suggestions should be tested your own, at your shop, prior to use in Prod.
All of these Tips/Tuning-suggestions should be tested your own, at your shop, prior to use in Prod.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
ISPF Tips.
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:
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
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.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
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.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
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,
I'd request readers to keep these points in mind.
Thanks 'gain for stopping by,
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
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!
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!
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
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.
When a line is excluded, it is simply excluded from the display. It is not in any way modified or deleted.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
6. HX - ISPF editor line command displays hex in a vertical format
Code: Select all
***************************** Top of Data ******************************
THIS IS TO SHOW HX LINE COMMAND.
ECCE4CE4ED4ECDE4CE4DCDC4CDDDCDC44444444444444444444444444444444444444444
3892092036028660870395503644154B0000000000000000000000000000000000000000
-----------------------------------------------------------------------
THIS IS NOT TO SHOW HX LINE COMMAND.
**************************** Bottom of Data ****************************
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
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.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
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
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.
Code: Select all
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 ****************************
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.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Robert Sample
- Global Moderator
- Posts: 1899
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: ISPF Tips.
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.
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.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
13. EX Command:
The above primary command will exclude all lines in the member/file which contain the string ‘ANUJ’.
Code: Select all
EX 'ANUJ' ALL
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
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.
This primary command will physically delete all of the excluded lines from a file. In doing so, it leaves all displayed lines intact.
Code: Select all
DEL EX ALL
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
16. Using FIND/CHANGE Commands:
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.
Code: Select all
F FIRST aaa
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Registered Member
- Posts: 22
- Joined: Tue Aug 20, 2013 10:43 am
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
Thanks for the feedback!
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2812
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: ISPF Tips.
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’.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute