Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Few ISPF Tips
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Mon Aug 08, 2005 9:37 pm    Post subject: Few ISPF Tips
Reply with quote

Hi All!

Here are few ISPF tips.

TIP # 001

Lets start with a generic and simpler one.
Consider that you are editing a file/program and you want to know the changes you have done since the last SAVE command. How to find that?

Answer:

Give COMPARE SESSION on the command line
Further use of COMPARE commands...
- Can be used like 3.13 option

TIP # 002

Usually the PDS or PS bears the ID of the creator or 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?

Answer:
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.

TIP # 003

Suppose you are in a ISPF Screen and want to know in which TSO Region ( Development, Production, or other TSO regions) you are now .

Answer:
Issue on the command line : SAREA

ISPF STATISTICS Pop-up window will show you the region( and other info too)

TIP # 004

Any command entered in the COMMAND LINE disappears after the successful execution of its intended function. If you want to repeat the same command , you got to re-type it or use some PF key to retrieve the last command entered.

But here is a cool method the make the command entered not to disappear and stay on the screen.

Precede commands with '& '
For Example:
Code:
COMMAND ===> &C '110-PARA' '220-PARA' SCROLL ===> CSR

****** ************************ TOP OF DATA **************

000001 IDENTIFICATION DIVISION.

000002 PROGRAM-ID. COBOLSAMY.

000003 DATE-WRITTEN. APRIL 2004.

After the execution of the command, the below command stays on the screen.

This way you can entering the same command or modifying the command a little and using it multiple times.

TIP # 005

While trying to open any member in a PDS, we sometimes come across
"member in use" message. In that situation, if you want to know who is using the member currently, press F1 twice.

TIP # 006

We usual search for members in a PDS by the first string of the members.

Consider this situation .

I have a PDS and I want to search it for member only by middle string of the members.
e.g. there are some members like BESTJCL1,RESTJCL2,PESTCBL1, BESTCBL2, WESTCBL3,TESTASM1,BESTASM2...etc
I want to find members which have CBL in them. How can I search and find these members?

Answer:
Use ISPF 4.12 option.
Specify the dataset to be searched and the pattern of the string.
Specify the LANG type as COB
And select the browse option.

TIP # 007

How can I find the last 10 datasets that I have accessed ?

Answer:

1.GO TO ISPF 3.4 option.

2. On the top, there is a MENUBAR. Select REFLIST

3. Select Option 1 in it.

Using this option you can find out the last 30 datasets that you have accessed....

TIP # 008

Alternate to SuperCE Option(3.13) is to use the macro COMPARE .
Use this when you there is less difference between the two files.

1.Open a DSN in EDIT or VIEW Mode

2. On the Command line , issue COMP 'YOUR.SECOND.COMPARISON.DSN'

3. If you want only the changes to be listed, issue COMP

'YOUR.SECOND.COMPARISON.DSN' EXC

TIP # 009
While Browsing Internet, we have some cool option called address autocomplete?we enter some letters in the address bar and the browser auto completes it with the closest guess.
Does MAINFRAME has the same feature??

Answer:

Yes! It has ?Autocomplete? feature!!!
How to use it?

1.go to ISPF 3.4 ,

2. enter KEYS in the command line,KEYS window will popup

3. set any key to AUTOTYPE, save and exit

4. now type any Dataset partially and press the assigned PFkey!!

Note: It will not retrieve GDGs and VSAM files.

TIP # 010

I want to find a member but I don?t know the PDS to which it belongs. I only know the high level qualifier of the PDS.

Answer:

For example, lets consider high level Qualifier as MYID.MYAPPLN.* and member as MYMEM

1. Go to 3.4 and list all PDS with MYID.MYAPPLN.*

2. Now issue, MEMBER MYMEM on the command line
Back to top
View user's profile Send private message

ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Tue Aug 23, 2005 12:10 pm    Post subject:
Reply with quote

Hi Anuradha,

Better to post complete Tips from "100 Cool Mainframe Tips".
Regards,
Reddy.
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Tue Aug 23, 2005 2:00 pm    Post subject: Re: Few ISPF Tips
Reply with quote

Hi Reddy!

Right now I dont have that material with me. If I get time I try to recollect some more and post here. But you are welcome to post all the tips here, if you have them with you.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Tue Aug 23, 2005 2:58 pm    Post subject: Re: Few ISPF Tips
Reply with quote

Can I add an utility that allow everyone to see all the system and user information?

TSO ISPVCALL STATUS

Use this carefully!
Back to top
View user's profile Send private message
rajp26

New User


Joined: 12 Aug 2005
Posts: 1

PostPosted: Sun Aug 28, 2005 4:05 pm    Post subject: ISPF more tips
Reply with quote

Need ISPF tips - more
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Mon Aug 29, 2005 10:31 am    Post subject:
Reply with quote

I am having "100 Cool Mainframe Tips" as an the attachment.But iam not able to upload it.
Back to top
View user's profile Send private message
mcmillan

Site Admin


Joined: 18 May 2003
Posts: 1202
Location: India

PostPosted: Mon Aug 29, 2005 3:56 pm    Post subject:
Reply with quote

Our system will not allow to upload more than 2 MB. You have to split it first.
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Mon Aug 29, 2005 4:10 pm    Post subject: Re: Few ISPF Tips
Reply with quote

mc,
the file size is less than 500 kb.
The problem is the link was down at the time.so i was not able to upload.
Able to do it now.

Pls find the attachment here.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Tue Aug 30, 2005 3:34 pm    Post subject:
Reply with quote

Just some questions:
TIPs # 009 - 010 - 014 - 020 -> are default or custom?

...and some opinion about these tips:
TIP # 012 -> really when you don't specify the visualization mode it takes the mode of access to the PDS(if you enter with B/V/E your default will be Browse/View/Edit).
TIP # 016/017 -> Use of CUT, usually, has Append as default. If you want to replace the data you muste use CUT REPLACE. CUT Can be followed with a name of 8 char( as CUT A; CUT B...;CUT C and so on ) to put your data in different "members" that can also be viewed thru CUT DISPLAY.
Back to top
View user's profile Send private message
spanda

New User


Joined: 31 Aug 2005
Posts: 48
Location: U.K.

PostPosted: Tue Sep 06, 2005 4:09 pm    Post subject: Re: Few ISPF Tips
Reply with quote

May I bring to your notice that your tip #10 may be useful to MVS users running z/OS at their sites. The Member command and a few other ISPF commands are only available with ISPF running under z/OS.

So, there may be a lot of people complaining that the tip does not actually work, which may be because they are running OS other than z/OS.

I am aware of some features that are available to ISPF ver 5.0 and over. Such as the one that you can have upto 12 split (logical) 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 dataset had to exist previously. With newer ISPF (>ver5.0), the copy/move option prompts to create a target dataset.

It will be worth supplying such info rather than generalising such tips for users benefit.

On another note, I personally find the DSLIST command very useful. I have actually assigned a PF key to DSLIST. So, I can simply type a dataset name or the high-level qualifier (in the form 'A.B.*') in quotes on the command line and press the PF key to see the matching datasets in DSLIST view. When I press PF3, I get back to the view I was in when I started. This actually saves me STARTing a new split screen. I believe the DSLIST command is available to ISPF (>ver 4.0).


Panda.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Tue Sep 06, 2005 6:38 pm    Post subject:
Reply with quote

Ok, really thanks you have clarify my doubt!
Actually I'm working mainly in a OS/390 2.10 with ISPF 5.0 but
I tried in another machine with z/OS 1.4 and it works fine.

Really thanks.
Back to top
View user's profile Send private message
killer

New User


Joined: 16 Sep 2005
Posts: 3

PostPosted: Fri Sep 23, 2005 11:31 am    Post subject: The "100 Cool Mainframe Tips" document...
Reply with quote

Hi all

I googled the title, and fount this link

http://madhavak.tripod.com/Mainfram100tips.doc

Don't know if it's an official version, if one such exists, but you can take a look.
Back to top
View user's profile Send private message
padma_prakasam

New User


Joined: 06 Oct 2005
Posts: 31

PostPosted: Thu Oct 06, 2005 4:00 pm    Post subject: couldn't download mainframe tips
Reply with quote

Hi radhakrishnan,


I'm not able to download the attachement u have given for mainframe tips. when i click that to download only a blank window is opening. nothing else is diaplayed. please help me to download that.

thanks
padma
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Thu Oct 06, 2005 5:00 pm    Post subject: Re: Few ISPF Tips
Reply with quote

padma,

right click on it "SAVE TARGET AS".It will then be download into your desired location.

hope this helps.
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Thu Dec 08, 2005 6:40 am    Post subject: Re: Few ISPF Tips
Reply with quote

Hi All,

As a follow up to the above posts I am just adding one more tip on sending messages in MVS.

Send a message to a TSO user. In this cmd, the message is cancelled if the user is not logged on.

Code:
SEND USER (USERID) ?message?


If you give * in place of USERID, you?ll get the message.

Wait until the user is able to receive the message.

Code:
SEND USER (USERID) ?message? WAIT


Send a message to another user, so that if the user is not logged on currently, the message will be delivered when the user logs on.

Code:
SEND USER (USERID) ?message? LOGON


Display messages sent to you while you were logged off.

Code:
LISTBC



Hope this helps.
Back to top
View user's profile Send private message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Mon Dec 26, 2005 12:08 pm    Post subject:
Reply with quote

Hi All:
All most all Tips are working fine. I tried the following one, but that did not yeild the desired result for me. The command is disappearing.
Can anyone guess, what would be the reason?

TIP # 004
ISPF
Any command entered in the COMMAND LINE disappears after the successful execution of its
intended function.
If you want to repeat the same command , you got to re-type it or use some PF key to retrieve the
last command entered.
But here is a cool method the make the command entered not to disappear and stay on the screen.
Precede commands with '& '
For Example:
COMMAND ===> &C '110-PARA' '220-PARA' SCROLL ===> CSR
****** ************************ TOP OF DATA **************
000001 IDENTIFICATION DIVISION.
000002 PROGRAM-ID. COBOLSAMY.
000003 DATE-WRITTEN. APRIL 2004.
After the execution of the command, the below command stays on the screen.
This way you can entering the same command or modifying the command a little and using it multiple times.
Back to top
View user's profile Send private message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Mon Dec 26, 2005 12:13 pm    Post subject: Re: Few ISPF Tips
Reply with quote

Hi Anu:

fortunately I have the 100 Cool mainframes tips.
But can you give me a brief list of ISPF commands in different option Menus that I can use? Like which commands,NP commands, and combination of NP command and main commands those are frequently used. I get a lot of confusions.
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Wed Jan 04, 2006 10:03 am    Post subject: Re: Few ISPF Tips
Reply with quote

Hi Folks,

Check out some new ISPF tips.


1)How to save in VIEW mode?
Use Replace command and save with the same name.

2)How to open the PDS with mask?

If you want the list of all the members which ends with ?A?
Write in front of the PDS ? M /(*A)
If you want the list of all the members which ?ABC? in between
Write in front of the PDS ? M /(*ABC*)

Use APPEND in =3.4 data set listing.
E.g., Append ?Mydataset? will add the ?Mydataset? in the current listing. RESET will remove it from the listing.

3)How to delete everything from a member through one line command? DEL NX ALL


Hope this helps.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Jan 16, 2006 3:13 am    Post subject:
Reply with quote

Hi Panda,

Up to 32 split screens were available from the time IBM offered the expanded option. The default was 8 annd the sysprogs in most shops never opted for more than the default (8).

I wonder if ibm boosted the default to 12 or your sysprog just got ambitious. icon_smile.gif
Back to top
View user's profile Send private message
CMullen

New User


Joined: 26 Oct 2006
Posts: 1
Location: Newton, MA

PostPosted: Thu Oct 26, 2006 9:00 pm    Post subject: Regarding tip # 6...
Reply with quote

I don't know how many releases of z/OS have permitted this, but I have found that in option 1 or 2 of ISPF, I can enter such patterns as *mid* in the Member field under ISPF Library to list only members whose names contain the string, "mid".
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm
No new posts ISPF Tables Creation newsysprg TSO/ISPF 6 Wed Jul 13, 2016 2:21 pm
No new posts More ISPF RFE's to vote for prino TSO/ISPF 1 Tue Apr 19, 2016 12:06 am
No new posts Differences between copying members b... E.LAI TSO/ISPF 8 Wed Mar 30, 2016 12:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us