IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Few ISPF Tips


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2359
Location: Israel

PostPosted: Mon Mar 05, 2007 3:25 pm
Reply with quote

Jagan-S:

Do you have a 3290 terminal? Have you been reading the restriction regarding SPLITV in the fine manual?

Regarding AUTOTYPE, please refer to the fine manual to learn why this command is not so trivial.
O.
Back to top
View user's profile Send private message
Jagan-S

New User


Joined: 16 Feb 2007
Posts: 4
Location: Kolkata

PostPosted: Mon Mar 05, 2007 3:51 pm
Reply with quote

Hi,

Thanks for informing me on File manual.

Mine is a 3278 terminal.

Cheers
Jagan
Back to top
View user's profile Send private message
crs916

New User


Joined: 08 Dec 2006
Posts: 2
Location: india

PostPosted: Tue May 08, 2007 9:27 am
Reply with quote

Hi all,

Thanks for the info


Regards
Ravi
Back to top
View user's profile Send private message
kaleelahamed

New User


Joined: 08 Jun 2006
Posts: 45
Location: Trumbull, CT

PostPosted: Thu Jul 05, 2007 12:20 pm
Reply with quote

HI ALL,

I want to take a copy of the same memeber with different name in same PDS. I am able to do this by giving C in front of the needed member and then typing the Project Group Type and new member name.

Is there any simpler way of doing it by giving some * in Project, Group and Type, so that i need not type in the current dataset name again.

This may sound weird, but I feel there mit be an option to do this.
Back to top
View user's profile Send private message
isha rani

New User


Joined: 18 Oct 2007
Posts: 2
Location: noida, india

PostPosted: Thu Oct 18, 2007 4:49 pm
Reply with quote

Hello Iknow,
I am unable to use send user command.
I am getting a meessage 'INVALID COMMAND'.
Could you please help me on this.

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

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Thu Oct 18, 2007 5:12 pm
Reply with quote

Hi Isha,

Try to use
SEND 'your message' USER(userid)

It will be better if u start a new topic instead of a posting it in an old post.
Back to top
View user's profile Send private message
sun_job

New User


Joined: 18 Sep 2007
Posts: 73
Location: Bangalore

PostPosted: Thu Dec 27, 2007 11:22 am
Reply with quote

Hi
go to ISPF 3.4 ,
enter KEYS in the command line,KEYS window will popup
set any key to AUTOTYPE, save and exit
now type any Dataset partially and press the assigned Function key

Hope this will help u
Back to top
View user's profile Send private message
venkatesh kudire

New User


Joined: 17 Jan 2008
Posts: 1
Location: Bangalore

PostPosted: Thu Jan 17, 2008 5:59 pm
Reply with quote

Some tips from my side:

Type ‘C’ in a line - it copies that line.
Type ‘Cn’ (n -> 1,2,...) - ‘n’ number of lines copied from the line where you typed ‘Cn’.
Type CC and CC in different lines, the number of lines between block have been copied
Type ‘A’ - it pastes the line copied after the line where you typed ‘A’.
Type ‘B’ - it pastes the line copied before the line where you typed ‘B’.
Type ‘An’ - it pastes the line copied ‘n’ times after the line where you typed ‘A’.
Type ‘Bn’ - it pastes the line copied ‘n’ times after the line where you typed ‘B’.
Type ‘M’ in a line - it copies that line. When you type ‘A’ or ‘B’ after that, the line actually gets moved. It is something like Cut + paste. But ‘C’ is something like Copy + Paste
Type MM and MM in different lines, the number of lines between block have been copied
Type R, it copies the line and pastes in the next line.
Type RR and RR between two different lines, the block is copied and pasted on the next line.
Back to top
View user's profile Send private message
S0C7

New User


Joined: 19 May 2006
Posts: 26

PostPosted: Thu Feb 07, 2008 8:21 pm
Reply with quote

To add to spanda, you may also put DSNVIEW on the command like and give the DSN name to open it in view mode directly.


Cheers!
S0C7
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Wed Mar 19, 2008 1:12 pm
Reply with quote

it's wonderul tips anuradha..
thanks for posting
Back to top
View user's profile Send private message
darkstar13

New User


Joined: 06 Nov 2008
Posts: 46
Location: Manila, Philippines

PostPosted: Tue Nov 18, 2008 6:29 am
Reply with quote

This works for z/OS. I haven't tried for others:

If you want to issue X ALL; F <STRING> ALL,
you can just type in Y <STRING>
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Nov 18, 2008 9:05 am
Reply with quote

Hello,

"Y" may be a local command at your shop, which is mapped to the combination of above used two commands - it does not work for me.
Back to top
View user's profile Send private message
darkstar13

New User


Joined: 06 Nov 2008
Posts: 46
Location: Manila, Philippines

PostPosted: Tue Nov 18, 2008 9:38 am
Reply with quote

Well, maybe, but a friend of mine from a different installation said it works for her. I don't know why.. Well.. Maybe you are right. Perhaps a macro or something.. icon_confused.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19245
Location: Inside the Matrix

PostPosted: Tue Nov 18, 2008 10:02 am
Reply with quote

Hello,

Quote:
Well, maybe, but a friend of mine from a different installation said it works for her. I don't know why..
Many site-specific tools have a wide following and if they are completely rexx or clist, they are often carried from place to place in the same area by people changing jobs or simply sharing with others in the field at some other company.
Back to top
View user's profile Send private message
darkstar13

New User


Joined: 06 Nov 2008
Posts: 46
Location: Manila, Philippines

PostPosted: Tue Nov 18, 2008 11:49 am
Reply with quote

Thanks Dick, icon_biggrin.gif

This may not be considered as a trick, but it maybe useful:

To add a calendar in your main TPX menu:
Select STATUS tab in the MENU bar and select Calendar

To reverse the exclude status of a range of lines
type FLIP in the command line

To search for picture strings:
Code:
A picture string is used to describe the type of string to be found   
instead of the exact characters to be found.                           
                                                                       
    Example -   ===> find p'¬' 1        find non-blank in column 1     
                                                                       
A picture string is a quoted string that is preceded or followed by the
letter "P".  It can contain blanks, alphabetic and numeric characters 
which represent themselves, or any of the special characters listed   
below, each of which represents a class of characters.                 
    =  any character                   .  invalid characters           
    @  alphabetic characters           -  non-numeric characters       
    #  numeric characters              <  lower case alphabetics       
    $  special characters              >  upper case alphabetics       
    ¬  non-blank characters                                           
                                                                       
Where possible, the special characters were selected to make them easy
to remember.  For example, $ for special characters, # for numbers,   
¬ (not sign) for non-blank, < (less than) for lower case. 



Other Notes (copied from TSO HELP):
Code:
LANGUAGE PROCESSING COMMANDS:                                   
                                                                 
ASM        INVOKE ASSEMBLER PROMPTER AND ASSEMBLER F COMPILER.   
CALC       INVOKE ITF:PL/1 PROCESSOR FOR DESK CALCULATOR MODE.   
COBOL      INVOKE COBOL PROMPTER AND ANS COBOL COMPILER.         
FORT       INVOKE FORTRAN PROMPTER AND FORTRAN IV G1 COMPILER.   
                                                                 
PROGRAM CONTROL COMMANDS:                                       
                                                                 
CALL       LOAD AND EXECUTE THE SPECIFIED LOAD MODULE.           
LINK       INVOKE LINK PROMPTER AND LINKAGE EDITOR.             
LOADGO     LOAD AND EXECUTE PROGRAM.                             
RUN        COMPILE, LOAD, AND EXECUTE PROGRAM.                   
TEST       TEST USER PROGRAM.                                   
TESTAUTH   TEST APF AUTHORIZED PROGRAMS.                         

DATA MANAGEMENT COMMANDS:                                     
                                                               
ALLOCATE   ALLOCATE A DATA SET WITH OR WITHOUT AN ATTRIBUTE   
           LIST OF DCB PARAMETERS.                                     
ALTLIB     DEFINE OPTIONAL, USER-LEVEL OR APPLICATION-LEVEL SETS OF   
           LIBRARIES CONTAINING SAA/PL EXECS OR CLISTS.  THESE         
           LIBRARIES ARE SEARCHED WHEN IMPLICITLY INVOKING AN         
           SAA/PL EXEC OR CLIST.                                       
ATTRIB     ALLOW DCB PARAMETERS TO BE DYNAMICALLY INTRODUCED           
           AND NAMED FOR USE WITH A SUBSEQUENT ALLOCATE COMMAND.       
CONVERT    SIFT ITF/PL1 AND FORTRAN SOURCE.                           
COPY       COPY A DATA SET.  (SEE NOTE BELOW.)                         
DELETE     DELETE A DATA SET.                                         
EDIT       CREATE, EDIT, AND/OR EXECUTE A DATA SET.                   
FORMAT     FORMAT AND PRINT A TEXT DATA SET.  (SEE NOTE BELOW.)       
FREE       RELEASE A DATA SET AND/OR AN ATTRIBUTE LIST.               
LIST       DISPLAY A DATA SET.  (SEE NOTE BELOW.)                     
LISTALC    DISPLAY ACTIVE DATA SETS.                                   
LISTBC     DISPLAY MESSAGES FROM OPERATOR/USER.                       
LISTCAT    DISPLAY USER CATALOGUED DATA SETS.                         
LISTDS     DISPLAY DATA SET ATTRIBUTES.                               
MERGE      COMBINE DATA SETS.  (SEE NOTE BELOW).                       
PRINTDS    PRINT A DATA SET.                                           
PROTECT    PASSWORD PROTECT DATA SETS.                                 
RENAME     RENAME A DATA SET.                                         
TSOLIB     DEFINE OPTIONAL SEARCH LEVEL THAT TSO/E USES WHEN SEARCHING
           FOR COMMANDS AND PROGRAMS.                                   
                                                                       
NOTE:  THE TSO DATA UTILITY COMMANDS, COPY, FORMAT, LIST AND MERGE,     
       ARE PART OF PROGRAM PRODUCT 5734-UT1.  THIS PRODUCT MUST BE     
       INSTALLED PRIOR TO UTILIZING THE COMMANDS AND RELATED HELPS.     
Back to top
View user's profile Send private message
ShameemOracle

New User


Joined: 23 Sep 2009
Posts: 15
Location: bangalore

PostPosted: Tue Sep 29, 2009 2:48 pm
Reply with quote

hi all,

Sorry for the late entry to the list. I would like to list few ISPF tips i came across. Its DSLIST

Situation: I want to list a set of datasets in my 3.4 panel which are having different HLQs or naming convention ( Eg: i need to list all my PARMLIBs CPAC.PARMLIB, SYS1.PARMLIB, SYS1.IBM.PARMLIB ) in single 3.4 panel

Solution: Create a DSLIST and issue DSLIST PARMLIBS (where PARMLIBS is my DSLIST for listing above said parmlibs).

1) go to 3.4 panel and select Ref option2 from Action bar.
2)By default you will see the default REFLIST which has last 30 ref referenced datasets.
3)Take FILE -> New List from Action bar
4)Here in this panel give the names of datasets you wish to list in ur DSLIST. Remember You have to enclose in single quotes in PREFIX is ON. You can use wildcard * for qualifying multiple datasets.
5)Now put S in Action and give a reasonable name for ur list.
6)Done. The list is saved. Now you can call this list from anywhere in ISPF env. Like DSLIST PARMLIBS



Thanks
Shameem
icon_biggrin.gif
Back to top
View user's profile Send private message
prino
Warnings : 1

Senior Member


Joined: 07 Feb 2009
Posts: 1263
Location: Vilnius, Lithuania

PostPosted: Sat Oct 20, 2012 3:26 am
Reply with quote

Try Doug Nadel's Add highlighting to SDSF exec. It's a mystery to me as to why something similar hasn't been added to SDSF proper...
Back to top
View user's profile Send private message
JimMoore8686

New User


Joined: 03 May 2020
Posts: 4
Location: United States

PostPosted: Tue May 05, 2020 1:51 am
Reply with quote

Here's a good ISPF Edit tip. Copy/Move one line After/Before/Overlay to more than one target line. Or, one source, many targets.

C line command on the Source line to be Copied
AK (or BK or OK) in place on multiple target lines (Note: I take "AK" to mean - After Keep Going)
Close out with a simple "A" (not AK)

The source line will be sprayed all over, where your AK or BK or OK were placed.

Very nifty.

Watch out for: The unqualified "A" to close out the operation must be the LAST line command in the edit session. That is, it can't be before the "C" (or "M") source line.

Try using clever EXCLUDE commands to minimize the screen space where you want to place the target lines. For example, a piece of JCL with 20 steps. You want to put a comment line BEFORE every step.

Insert a blank JCL comment - //*
Command=> X all;f all PGM=;hide x
Command=> F //* 1
Place "C" line command on this blank comment line

BK liine command on all of the lines containing PGM=; scroll as required, close it out with a plain old "B" line command on final PGM= line.

RES ALL to get back to normal.
Back to top
View user's profile Send private message
Imabeliever

New User


Joined: 15 Aug 2019
Posts: 3
Location: Australia

PostPosted: Tue May 05, 2020 6:35 am
Reply with quote

Wow. I haven't kept up with all the changes in ISPF. I wrote macros years ago to do that very thing. Now all they need to do is provide proper regex functions. Although these days I don't bother using 3270 if I can avoid it...Zowe for the win...when it works ;-)
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts Finding a semi colon (;) in ISPF TSO/ISPF 5
No new posts SAY backslash within ISPF CLIST & REXX 16
No new posts ISPF Panel commands DDLIST /LISTBOX TSO/ISPF 11
No new posts Am Getting a vertical line in ISPF SC... TSO/ISPF 3
No new posts ISPF Edit Macro with profile commands... TSO/ISPF 14
Search our Forums:

Back to Top