Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Few ISPF Tips
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
isha rani

New User


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

PostPosted: Thu Oct 18, 2007 4:49 pm    Post subject: Reply to: Few ISPF Tips
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    Post subject:
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    Post subject: hello
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    Post subject: Reply to: Few ISPF Tips
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    Post subject: DSNVIEW
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: 195
Location: India

PostPosted: Wed Mar 19, 2008 1:12 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Tue Nov 18, 2008 9:05 am    Post subject:
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    Post subject:
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: 19254
Location: Inside the Matrix

PostPosted: Tue Nov 18, 2008 10:02 am    Post subject:
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    Post subject:
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    Post subject: ISPF DSLIST
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

Senior Member


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

PostPosted: Sat Oct 20, 2012 3:26 am    Post subject: Making SDSF panels a lot more readable
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISPF Panel commands DDLIST /LISTBOX Wesley TSO/ISPF 11 Thu Aug 06, 2020 11:25 pm
No new posts Am Getting a vertical line in ISPF SC... Himansu22 TSO/ISPF 3 Fri Jul 31, 2020 11:58 pm
No new posts ISPF Edit Macro with profile commands... Lynne Schuler TSO/ISPF 14 Thu Jun 18, 2020 7:25 pm
No new posts ISPF skeleton that has IF/THEN/DO sta... ecsk TSO/ISPF 15 Mon Apr 27, 2020 12:52 pm
No new posts RegEX search in ISPF editor jzhardy TSO/ISPF 4 Mon Apr 20, 2020 10:46 am

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us