Tso Ispf Assistant

Embed Size (px)

Citation preview

  • 7/31/2019 Tso Ispf Assistant

    1/193

    TSO/ISPF ASSISTANT

  • 7/31/2019 Tso Ispf Assistant

    2/193

    Enter yourPassword

    Note:- Password should be maximum 8 characters.

    Enter your newpassword here

  • 7/31/2019 Tso Ispf Assistant

    3/193

    Press enter key to proceed further

    when you encounter 3 asterisksymbol

  • 7/31/2019 Tso Ispf Assistant

    4/193

    Enter the commands here. Choose the options from down below or typein TSO/ISPF commands

  • 7/31/2019 Tso Ispf Assistant

    5/193

    Some commands for screen

    navigation

    Enter: After typing a command at theprompt ENTER key has to be pressed to

    execute the command

    F3: To go back to the previous screen

    =X: To go to the main menu (STARTcommand can also be used for the samepurpose)

  • 7/31/2019 Tso Ispf Assistant

    6/193

    To display functionalkeys

  • 7/31/2019 Tso Ispf Assistant

    7/193

    Key help is showndue to PF show on

  • 7/31/2019 Tso Ispf Assistant

    8/193

    To remove the display offunctional keys.

  • 7/31/2019 Tso Ispf Assistant

    9/193

    The functional key help is switched off

  • 7/31/2019 Tso Ispf Assistant

    10/193

    Steps to allocate a dataset (file)

    There can be a maximum of 5 qualifiers(max 44 characters), separated by 4 dots.

    Each qualifier can be a maximum of 8characters, with the initial character of eachqualifier being a character or a nationalsymbol.

    The following slides demonstrates the allocation ofa file (BOTH PDS (library) and Sequential file)

  • 7/31/2019 Tso Ispf Assistant

    11/193

    P is one of the option from themenu below for Program

    Development Facility

  • 7/31/2019 Tso Ispf Assistant

    12/193

    Option for creating or editing thedata source

  • 7/31/2019 Tso Ispf Assistant

    13/193

    Option 2 from this menu to allocate adata set

  • 7/31/2019 Tso Ispf Assistant

    14/193

    Enter the data set name here thefirst qualifier should be your

    mainframe id

  • 7/31/2019 Tso Ispf Assistant

    15/193

    First time when you allocate aPDS everything will be blank.Leave SMS to give the defaultvalues up to data class option

  • 7/31/2019 Tso Ispf Assistant

    16/193

    This space is physically allocated atthe time of allocation of the data set

    0 PS data setNon zero PDS

    E.G: If 5 DB are allocated then you can accommodate25 members within the PDS @ 5 members/unit

    Logical Record Length

    This is an optional entry.

    Block Size should be exact multiple of therecord length

    This is allocated in terms of extents and there are15 extents. Each extent is allocated when ever the

    data exceeds the already allocated space.The values this can take:FB: Fixed BlockVB: Variable Block

  • 7/31/2019 Tso Ispf Assistant

    17/193

  • 7/31/2019 Tso Ispf Assistant

    18/193

    Now we allocate a physical sequential file (PS)

  • 7/31/2019 Tso Ispf Assistant

    19/193

    Directory blocks will bezero for physical

    sequential file

    You can leave blank or

    enter PS here

  • 7/31/2019 Tso Ispf Assistant

    20/193

  • 7/31/2019 Tso Ispf Assistant

    21/193

  • 7/31/2019 Tso Ispf Assistant

    22/193

  • 7/31/2019 Tso Ispf Assistant

    23/193

  • 7/31/2019 Tso Ispf Assistant

    24/193

    Editing a member of a PDS

    The following slides demonstrates thevarious edit commands.

    Edit

    RESet

    Copy

  • 7/31/2019 Tso Ispf Assistant

    25/193

  • 7/31/2019 Tso Ispf Assistant

    26/193

    Type the name of themember which you want

    to Edit (it could be a newmember also)

  • 7/31/2019 Tso Ispf Assistant

    27/193

  • 7/31/2019 Tso Ispf Assistant

    28/193

    This is the areawhere the TEXT

    is written

    The line numbers aredisplayed in this area

  • 7/31/2019 Tso Ispf Assistant

    29/193

    RESet clears the display ofinformational messages and any

    unprocessed line commands

  • 7/31/2019 Tso Ispf Assistant

    30/193

  • 7/31/2019 Tso Ispf Assistant

    31/193

    To insert aline

  • 7/31/2019 Tso Ispf Assistant

    32/193

    Has insertedone line

  • 7/31/2019 Tso Ispf Assistant

    33/193

    To insert 10lines

  • 7/31/2019 Tso Ispf Assistant

    34/193

    Has inserted 10lines

  • 7/31/2019 Tso Ispf Assistant

    35/193

    To Display thecolumn numbers

  • 7/31/2019 Tso Ispf Assistant

    36/193

    Scale is beingdisplayed

  • 7/31/2019 Tso Ispf Assistant

    37/193

    Start enteringyour text (orcode) in this

    area.

  • 7/31/2019 Tso Ispf Assistant

    38/193

  • 7/31/2019 Tso Ispf Assistant

    39/193

    To save the text

  • 7/31/2019 Tso Ispf Assistant

    40/193

  • 7/31/2019 Tso Ispf Assistant

    41/193

    Split and swap

    These are the primary commands. Split isassociated with F2 and Swap isassociated with F9.

    This facility enables us to work with twoscreens.

    The next slides demonstrates the usage

    of these keys.

  • 7/31/2019 Tso Ispf Assistant

    42/193

  • 7/31/2019 Tso Ispf Assistant

    43/193

    Splits the screen into two

    thus giving additional screento work with. Place the cursorat a convenient line and

    press F2 function key andscreen will be split on that

    line.

    Press F9 function key to swapto the other screen

  • 7/31/2019 Tso Ispf Assistant

    44/193

    p.3.4 takes you to data setlist utility menu

  • 7/31/2019 Tso Ispf Assistant

    45/193

    To find a

  • 7/31/2019 Tso Ispf Assistant

    46/193

    To find aparticular string

    in the list

  • 7/31/2019 Tso Ispf Assistant

    47/193

    To Browse themembers in PDS

  • 7/31/2019 Tso Ispf Assistant

    48/193

    To Browse the

    contents of themember

  • 7/31/2019 Tso Ispf Assistant

    49/193

    Press F9 toswapbetween the

    two screens

  • 7/31/2019 Tso Ispf Assistant

    50/193

  • 7/31/2019 Tso Ispf Assistant

    51/193

  • 7/31/2019 Tso Ispf Assistant

    52/193

  • 7/31/2019 Tso Ispf Assistant

    53/193

    CANCEL Command

    This command is used to cancel thechanges made to the text in a PS ormember of a PDS

  • 7/31/2019 Tso Ispf Assistant

    54/193

  • 7/31/2019 Tso Ispf Assistant

    55/193

  • 7/31/2019 Tso Ispf Assistant

    56/193

  • 7/31/2019 Tso Ispf Assistant

    57/193

  • 7/31/2019 Tso Ispf Assistant

    58/193

  • 7/31/2019 Tso Ispf Assistant

    59/193

    Note that thechanges are not

    saved.

  • 7/31/2019 Tso Ispf Assistant

    60/193

  • 7/31/2019 Tso Ispf Assistant

    61/193

    In this example the second line hasto be copied after the third line

  • 7/31/2019 Tso Ispf Assistant

    62/193

    to be copied after the third line.Hence C is written the line area of

    the second line and A in the third

    line.

  • 7/31/2019 Tso Ispf Assistant

    63/193

  • 7/31/2019 Tso Ispf Assistant

    64/193

    Note the commands tocopy the 5th line

    BEFORE the 6th line

  • 7/31/2019 Tso Ispf Assistant

    65/193

  • 7/31/2019 Tso Ispf Assistant

    66/193

    To delete a lineenter D in the

    line area of that

    line

  • 7/31/2019 Tso Ispf Assistant

    67/193

    Line is deleted

  • 7/31/2019 Tso Ispf Assistant

    68/193

    To copy more than 1 line serially write C followed by thenumber in the line area. E.G note the command to copy

    4 lines starting from the second line

  • 7/31/2019 Tso Ispf Assistant

    69/193

  • 7/31/2019 Tso Ispf Assistant

    70/193

    To delete a block oflines, dd should be

    given in the firstand last line of the

    block

  • 7/31/2019 Tso Ispf Assistant

    71/193

    Block of line are deleted

  • 7/31/2019 Tso Ispf Assistant

    72/193

  • 7/31/2019 Tso Ispf Assistant

    73/193

    It has copied after

  • 7/31/2019 Tso Ispf Assistant

    74/193

    Command to move a block ofdata laterally by required

    number of columns

  • 7/31/2019 Tso Ispf Assistant

    75/193

    The blockcommand set ))07

    )) moves the entire

    block by 7 columnsto the right

  • 7/31/2019 Tso Ispf Assistant

    76/193

  • 7/31/2019 Tso Ispf Assistant

    77/193

    The blockwill be

    moved by 3columns to

    the left

  • 7/31/2019 Tso Ispf Assistant

    78/193

    Similarly use commands and not

    the difference between

    the two

  • 7/31/2019 Tso Ispf Assistant

    79/193

    Move Command

  • 7/31/2019 Tso Ispf Assistant

    80/193

    To move a line or series of linesM has to be specified. To select a

    block MM has to be specified in

    the first and last line of the block

  • 7/31/2019 Tso Ispf Assistant

    81/193

  • 7/31/2019 Tso Ispf Assistant

    82/193

    Repeat command

  • 7/31/2019 Tso Ispf Assistant

    83/193

    To repeat a line, then R has

    to be specified for that line.

    E.g: Note the command torepeat the last line 4 times

  • 7/31/2019 Tso Ispf Assistant

    84/193

  • 7/31/2019 Tso Ispf Assistant

    85/193

    Exclude command

    Excluding and redisplaying

  • 7/31/2019 Tso Ispf Assistant

    86/193

    Excluding and redisplayingsource lines

    X Exclude this line.

    Xn Exclude n lines starting with this line.

    XX Exclude a block of lines .

    S Show one line of the excluded text. Sn Show n lines.

    F Show the first line of the excluded text.

    Fn Show the first n lines. L Show the last line of the excluded text. Ln Show the last n lines.

  • 7/31/2019 Tso Ispf Assistant

    87/193

    To exclude line(s)from being displayed

  • 7/31/2019 Tso Ispf Assistant

    88/193

    The 4 linesare hid from

    beingdisplayed

  • 7/31/2019 Tso Ispf Assistant

    89/193

    To Show the hiddenlines S has to be

    typed in the line area.To display one line,

    S1 is typed.

  • 7/31/2019 Tso Ispf Assistant

    90/193

    Note the display ofthe one hidden line.

  • 7/31/2019 Tso Ispf Assistant

    91/193

    The commandF displays

    the Firsthidden line

  • 7/31/2019 Tso Ispf Assistant

    92/193

    Note the display ofthe first line that was

    excluded fromdisplay

  • 7/31/2019 Tso Ispf Assistant

    93/193

    To display theLast lines typeL in the line

    area.

  • 7/31/2019 Tso Ispf Assistant

    94/193

    Note thedisplayof the

    last twolines

  • 7/31/2019 Tso Ispf Assistant

    95/193

    To delete a block of lines the

    block can be marked with DDin the first and last line DD

  • 7/31/2019 Tso Ispf Assistant

    96/193

    Note the deletion of the block

    To change the case

  • 7/31/2019 Tso Ispf Assistant

    97/193

    To change the case

    To Lower case

    To Upper case

  • 7/31/2019 Tso Ispf Assistant

    98/193

    To change aline to lower

    case LC has

    to be typed inthe line area

  • 7/31/2019 Tso Ispf Assistant

    99/193

    Note the case changed

  • 7/31/2019 Tso Ispf Assistant

    100/193

    To change aline to upper

    case UC has

    to be typed inthe line area

  • 7/31/2019 Tso Ispf Assistant

    101/193

    Note the case changed

  • 7/31/2019 Tso Ispf Assistant

    102/193

    Find and RFind

  • 7/31/2019 Tso Ispf Assistant

    103/193

    To search astring commandF followed by

    the string willhave to betyped here.

  • 7/31/2019 Tso Ispf Assistant

    104/193

    Note that the matched strings are highlighted

  • 7/31/2019 Tso Ispf Assistant

    105/193

    REPEAT FIND:Rfindcommand is used to

    place the cursor at thenext matching String. Tofind the next matching

    string Press F5 which ismapped to Rfind.

  • 7/31/2019 Tso Ispf Assistant

    106/193

    When all thestrings have

    been exhaustedthen this

    message is

    displayed

  • 7/31/2019 Tso Ispf Assistant

    107/193

    To Replace a string withanother string Change

    command can be used. Thechange command should befollwed by the string that has

    to be replaced followed by thenew string. Here string

    PRIYA is to be replaced withPRIYAPRABHU

  • 7/31/2019 Tso Ispf Assistant

    108/193

    Note the replacedString

  • 7/31/2019 Tso Ispf Assistant

    109/193

    To replace the next

    matching string,Rchange

    command can bemade use of.

  • 7/31/2019 Tso Ispf Assistant

    110/193

    Note the changed text

  • 7/31/2019 Tso Ispf Assistant

    111/193

    To replace all thematching strings thecommand has to beappended by ALL

  • 7/31/2019 Tso Ispf Assistant

    112/193

    Note the changed strings

    CREATE Command

  • 7/31/2019 Tso Ispf Assistant

    113/193

    CREATE Command

    This command is used to copy a block oflines and paste it in a new member.

    The following slides demonstrates the

    usage of this command

  • 7/31/2019 Tso Ispf Assistant

    114/193

    The lines that are to be copied aremarked as CC

  • 7/31/2019 Tso Ispf Assistant

    115/193

    The new member which

    has to be created isnames here.

  • 7/31/2019 Tso Ispf Assistant

    116/193

  • 7/31/2019 Tso Ispf Assistant

    117/193

  • 7/31/2019 Tso Ispf Assistant

    118/193

    The copied contentshave been pasted

    here.

    Replace Command

  • 7/31/2019 Tso Ispf Assistant

    119/193

    Replace Command

    This command is used to replace the textof a member with the copied text block

  • 7/31/2019 Tso Ispf Assistant

    120/193

  • 7/31/2019 Tso Ispf Assistant

    121/193

  • 7/31/2019 Tso Ispf Assistant

    122/193

  • 7/31/2019 Tso Ispf Assistant

    123/193

  • 7/31/2019 Tso Ispf Assistant

    124/193

  • 7/31/2019 Tso Ispf Assistant

    125/193

  • 7/31/2019 Tso Ispf Assistant

    126/193

  • 7/31/2019 Tso Ispf Assistant

    127/193

    COPY COMMAND MOVE COMMAND

    Copying lines

  • 7/31/2019 Tso Ispf Assistant

    128/193

    C Copy this line Cn Copy n lines starting with this

    line.

    CC Copy a block of lines.

    A Place the copied lines after this line.

    An Repeat the copied lines n times afterthis line.

    B Place the copied lines before this line. Bn Repeat the copied lines n times before

    this line.

  • 7/31/2019 Tso Ispf Assistant

    129/193

  • 7/31/2019 Tso Ispf Assistant

    130/193

  • 7/31/2019 Tso Ispf Assistant

    131/193

    A for After

  • 7/31/2019 Tso Ispf Assistant

    132/193

    From Location

    It h i d ft

  • 7/31/2019 Tso Ispf Assistant

    133/193

    It has copied after

  • 7/31/2019 Tso Ispf Assistant

    134/193

    B stands for before

  • 7/31/2019 Tso Ispf Assistant

    135/193

    From Location

  • 7/31/2019 Tso Ispf Assistant

    136/193

    It has moved the contents

  • 7/31/2019 Tso Ispf Assistant

    137/193

    It has moved the contentsbefore

    Down (F8) line numbercommand is used to saydown by number of linesFor Ex: Down 3 for 3 lines

  • 7/31/2019 Tso Ispf Assistant

    138/193

    The cursor is taken the3rd line

  • 7/31/2019 Tso Ispf Assistant

    139/193

    Up max command takes you tothe maximium line number i.e is

    first line

  • 7/31/2019 Tso Ispf Assistant

    140/193

    Up max has taken tothe first line

  • 7/31/2019 Tso Ispf Assistant

    141/193

    Profile command is used to showthe profile

  • 7/31/2019 Tso Ispf Assistant

    142/193

    Profile isdisplayed

  • 7/31/2019 Tso Ispf Assistant

    143/193

  • 7/31/2019 Tso Ispf Assistant

    144/193

  • 7/31/2019 Tso Ispf Assistant

    145/193

  • 7/31/2019 Tso Ispf Assistant

    146/193

    Option 1 is used to displaydata or listing

  • 7/31/2019 Tso Ispf Assistant

    147/193

  • 7/31/2019 Tso Ispf Assistant

    148/193

    Hex on command enable user to enterthe values in Hex decimal (i.e. is inCOBOL COMP-3 variable)

  • 7/31/2019 Tso Ispf Assistant

    149/193

  • 7/31/2019 Tso Ispf Assistant

    150/193

    Hex off commandwill switch it off

  • 7/31/2019 Tso Ispf Assistant

    151/193

  • 7/31/2019 Tso Ispf Assistant

    152/193

  • 7/31/2019 Tso Ispf Assistant

    153/193

    Renaming a member Copying a member

    Moving a member

  • 7/31/2019 Tso Ispf Assistant

    154/193

  • 7/31/2019 Tso Ispf Assistant

    155/193

  • 7/31/2019 Tso Ispf Assistant

    156/193

  • 7/31/2019 Tso Ispf Assistant

    157/193

  • 7/31/2019 Tso Ispf Assistant

    158/193

  • 7/31/2019 Tso Ispf Assistant

    159/193

  • 7/31/2019 Tso Ispf Assistant

    160/193

  • 7/31/2019 Tso Ispf Assistant

    161/193

    Enter the new name here

  • 7/31/2019 Tso Ispf Assistant

    162/193

    To copy a member

  • 7/31/2019 Tso Ispf Assistant

    163/193

    Enter the new PDS name here

  • 7/31/2019 Tso Ispf Assistant

    164/193

    Enter the new PDS name here

    Enter the New member name here

  • 7/31/2019 Tso Ispf Assistant

    165/193

  • 7/31/2019 Tso Ispf Assistant

    166/193

    Demo1 copied to Demo2

    M to move a member

  • 7/31/2019 Tso Ispf Assistant

    167/193

    Enter the PDSname

  • 7/31/2019 Tso Ispf Assistant

    168/193

    Enter the membername here

  • 7/31/2019 Tso Ispf Assistant

    169/193

  • 7/31/2019 Tso Ispf Assistant

    170/193

  • 7/31/2019 Tso Ispf Assistant

    171/193

    Contents of Demo2 moved to Demo4

    To compress a Data set

  • 7/31/2019 Tso Ispf Assistant

    172/193

    Note : Compress works only on PDS datasets.

    What is the need to compress data ?It is done to reclaim the space occupied bythe members that are not linked to the

    Dataset any more.

  • 7/31/2019 Tso Ispf Assistant

    173/193

  • 7/31/2019 Tso Ispf Assistant

    174/193

  • 7/31/2019 Tso Ispf Assistant

    175/193

  • 7/31/2019 Tso Ispf Assistant

    176/193

  • 7/31/2019 Tso Ispf Assistant

    177/193

    Data set information displayed

  • 7/31/2019 Tso Ispf Assistant

    178/193

    To scroll with Page option

    Cursor option

    Line number option

    Scroll amounts

  • 7/31/2019 Tso Ispf Assistant

    179/193

    HALF Move the screen window half a page(11 lines or 40 columns).

    PAGE Move the screen window one page

    (22 lines or 80 columns).

    n Move the screen window n lines or

    columns. MAX Move the screen window to thetop, bottom, left or right margin.

    CSR Move the screen window so data at thecursor position ends up at the top,

    the top, bottom, left, or right of thescreen.

    DATA Move the screen window one line orone column less than a full page.

    Pageoption

  • 7/31/2019 Tso Ispf Assistant

    180/193

    F8 isused to

    Scrolldown

    F7 is used to Scroll up.If PAGE is specified

    then one page will bescrolled

    Cursoroption.

  • 7/31/2019 Tso Ispf Assistant

    181/193

  • 7/31/2019 Tso Ispf Assistant

    182/193

    Linenumber

  • 7/31/2019 Tso Ispf Assistant

    183/193

    option

  • 7/31/2019 Tso Ispf Assistant

    184/193

    Help command (F1 command)

  • 7/31/2019 Tso Ispf Assistant

    185/193

  • 7/31/2019 Tso Ispf Assistant

    186/193

    Key command

    Key command is used tomap the keys

  • 7/31/2019 Tso Ispf Assistant

    187/193

  • 7/31/2019 Tso Ispf Assistant

    188/193

  • 7/31/2019 Tso Ispf Assistant

    189/193

  • 7/31/2019 Tso Ispf Assistant

    190/193

    Note:Press F10 or you can select the save option from File menu above

  • 7/31/2019 Tso Ispf Assistant

    191/193

  • 7/31/2019 Tso Ispf Assistant

    192/193

    Note:- functional key F5 will take you to Data set list utility menudirectly due to key mapping

  • 7/31/2019 Tso Ispf Assistant

    193/193

    Thank you