Você está na página 1de 10

TSO Commands

General KEYS PFSHOW PFSHOW OFF Scroll Options PAGE CSR HALF Displays the PF Keys for that panel Shows all PF Keys at the bottom of the panel Removes the PF Keys from the bottom of the panel Scroll by entire screen (length or width) no matter where the cursor is located Scroll based on where the cursor is located on the screen Scroll by a screen (length or width) no matter where the cursor is located

Browsing How: Main Menu Option 1 = 1 on Command Line File-Aid Option 1 (9.19;1) Line Command B with 3.4 file list Panvalet Option 1 (L.1) Command Line Commands: F xxxxx LAST = Find last occurrence of xxxxx F xxxxx FIRST = Find first occurrence of xxxxx F xxxxx = Find next occurrence of xxxxx F xxxxx ALL = Find next and count all occurrences of xxxxx F xxxxx column# = Find next occurrence of xxxxx starting in column # F xxxxx column# ALL = Find next and count all occurrences of xxxxx starting in column # M PF7 = Move to top of the file ## PF7 = Move up in the file by ## lines B PF8 = Move to bottom of the file ## PF8 = Move down in the file by ## lines TOP = Move to the top of the file BOTTOM = Move to the bottom of the file BOT = Move to the bottom of the file COLUMNS = Display a ruler at the top of the screen COL = ditto COLS = ditto COL ON = ditto COLUMNS OFF = Remove the ruler LEFT ## = Move the displayed data ## columns to the Left ## PF10 = ditto RIGHT ## = Move the displayed data ## columns to the Right ## PF11 = ditto KEYS = Displays the function keys and their meanings RESET = Reset the file RES = ditto SWAP = Switch between split screens HOLD = Put the current session of TSO on hold and start a new one =x = Exit the current TSO session HEX = Display the data in Hexadecimal mode HEX OFF = Turns the Hexadecimal mode off Function Keys: PF1 = Help PF2 = Split screen at the cursors location PF3 = Exit PF4 = Exit or Return PF5 = Find next occurrence of last F command PF6 = Change next occurrence of last C command PF7 = Move up PF8 = Move down 136143093.doc 1 1/18/2000

PF9 = Swap between split screens PF10 = Move left PF11 = Move right PF12 = Cancel or Repeat (redisplays the previous Command Line command) PF13 24 are usually repeats of the above Viewing (Similar to Browsing but with Line Command options) How: Main Menu Option 1 = 1 on Command Line File-Aid Option 1 (9.19;1) Line Command B with 3.4 file list Panvalet Option 1 (L.1) Command Line Commands: F xxxxx LAST = Find last occurrence of xxxxx F xxxxx FIRST = Find first occurrence of xxxxx F xxxxx = Find next occurrence of xxxxx F xxxxx ALL = Find next and count all occurrences of xxxxx F xxxxx column# = Find next occurrence of xxxxx starting in column # F xxxxx column# ALL = Find next and count all occurrences of xxxxx starting in column # M PF7 = Move to top of the file ## PF7 = Move up in the file by ## lines B PF8 = Move to bottom of the file ## PF8 = Move down in the file by ## lines TOP = Move to the top of the file BOTTOM = Move to the bottom of the file BOT = Move to the bottom of the file LEFT ## = Move the displayed data ## columns to the Left ## PF10 = ditto RIGHT ## = Move the displayed data ## columns to the Right ## PF11 = ditto KEYS = Displays the function keys and their meanings RESET = Reset the file RES = ditto SWAP = Switch between split screens HOLD = Put the current session of TSO on hold and start a new one =x = Exit the current TSO session HEX = Display the data in Hexadecimal mode HEX OFF = Turns the Hexadecimal mode off CUT = With C or CC line command will copy the line(s) to temporary storage Line Commands: COL = Display a ruler COLS = ditto D = Remove the ruler C = Copy the current line CC = Block copy of lines (requires a set of 2 CC) Function Keys: PF1 = Help PF2 = Split screen at the cursors location PF3 = Exit PF4 = Exit or Return PF5 = Find next occurrence of last F command PF6 = Change next occurrence of last C command PF7 = Move up PF8 = Move down PF9 = Swap between split screens PF10 = Move left PF11 = Move right PF12 = Cancel or Repeat (redisplays the previous Command Line command) PF13 24 are usually repeats of the above 136143093.doc 2 1/18/2000

Quick Browse (QB) Note: QB and QE works from a list of filenames. They work from independent lists of filenames therefore it is up to you to set them up. Ive also found that Xeroxs TSO Option 9 utilities have their own independent lists for the QB and QE options. How: Enter QB on the Command Line. Screen:
------------------------- EDS - Extended BROWSE Panel -----------------------COMMAND ===> ENTER LIBRARY NUMBER ===> 15 MEMBER ===> CJ023* (Blank or pattern for member selection list)

OTHER PARTITIONED OR SEQUENTIAL DATA SET: DATA SET NAME ===> VOLUME SERIAL ===> (If not cataloged) 1 2 3 4 5 6 7 8 9 10 11 12 IMSVS.IMP1.CTLBLK.PSBSRC IMSVS.IMP1.CTLBLK.DBDSRC 13 14 15 16 17 18 19 20 21 22 23 24 BSG.CLIST PAN.ISPF.CLIST KZZVGF.HP.JCL

XCC1.CNTLLIB XCC1.APOLLO.READER RDC1.PROCLIB XCC1.DTDLIB IMSVS.IMP1.CTLBLK.PSBSRC IMSTEST.IMT3.CTLBLK.PSBSRC

IMSVS.IMP1.DBDLIB

Screen Set Up: The QB and QE screen first comes up without any of the 24 filenames filled in. Ive entered filenames 1, 2, 7-15, and 23. The filenames you enter can be in any order. Tab to the Filename List and type in the main part of the filename (all of the filenames Ive entered are PDS (partitioned datasets)). How to Use the Screen: The example above will bring up a list of files that is in KZZVGF.HP.JCL that begins with CJ023, in this case CJ02300, CJ02310, and CJ02320, I will have to select the specific one I want to browse from the list by using the S line command. If you dont want to use one of the filenames in the library list, blank out the library number and tab to Data Set Name and type in the full filename. Press the ENTER key to execute the request. You are now in browse or view mode and can use the appropriate Command Line and line commands and function keys.

136143093.doc

1/18/2000

Editing How: Main Menu Option 2 = 2 on Command Line File-Aid Option 2 (9.19;2) Line Command E with 3.4 file list Panvalet Option 2 (L.2) Command Line Commands: F xxxxx LAST = Find last occurrence of xxxxx F xxxxx FIRST = Find first occurrence of xxxxx F xxxxx = Find next occurrence of xxxxx F xxxxx ALL = Find next and count all occurrences of xxxxx F xxxxx column# = Find next occurrence of xxxxx starting in column # F xxxxx column# ALL = Find next and count all occurrences of xxxxx starting in column # M PF7 = Move to top of the file ## PF7 = Move up in the file by ## lines B PF8 = Move to bottom of the file ## PF8 = Move down in the file by ## lines TOP = Move to the top of the file BOTTOM = Move to the bottom of the file BOT = Move to the bottom of the file LEFT ## = Move the displayed data ## columns to the Left ## PF10 = ditto RIGHT ## = Move the displayed data ## columns to the Right ## PF11 = ditto KEYS = Displays the function keys and their meanings RESET = Reset the file RES = ditto HOLD = Put the current session of TSO on hold and start a new one =x = Exit the current TSO session HEX = Display the data in Hexadecimal mode HEX OFF = Turns the Hexadecimal mode off SAVE = Save the changes and stay within the file CAN = Cancel, do not save changes CANCEL = Exit without saving changes CUT = With C or CC line command will copy the line(s) to temporary storage PASTE = With A or B line command will paste the data from temporary storage into the file C xxx yyy = Change the next occurrence of xxx to yyy C xxx yyy ALL = Change all occurrence of xxx to yyy C xxx yyy # ALL = Change all occurrence of xxx to yyy that start in column # X ALL = Exclude from the screen all lines within the file CREATE = Will bring up a panel to specify a filename to create (must be used with C, CC, M, or MM line command) This way does not place the file within the same PDS unless you specify. CREATE filename = Will create the file within the same PDS with the specified data (must be used with C, CC, M, or MM line command) REPLACE = Will bring up a panel to specify a filename to replace (must be used with C, CC, M, or MM line command) Works similar to CREATE without a filename. REPLACE filename = Will replace the contents of the file within the same PDS with the specified data (must be used with C, CC, M, or MM line command) COPY = Will bring up a panel to specify a file to copy into the current file (must be used with A or B line command) COPY filename = Will copy the file that is specified as long as it is within the same PDS naming convention (again requires the A or B line command). SORT a,b = Sort the data based on column a thru column b in ascending sequence SORT a,b d = Sort the data based on column a thru column b in descending sequence SUB = Submits a job PROFILE = Displays the High level settings for the dataset 136143093.doc 4 1/18/2000

PROF = ditto REC = Turns dataset recovery on RECOVERY = ditto RECOVERY ON = ditto REC OFF = Turns dataset recovery off NULLS = Allows entry of data at the end of the line without hitting the END or EOL key NULLS ON = ditto NULLS OFF = Protect the non-displayed characters after the last visible character on the line NUM ON COB = Sets the dataset up for COBOL programs NUM ON STD COB = Sets the dataset up for standard COBOL programs, data input only in columns 7 thru 72, and removes characters from columns 73 thru 80, automatically sets the file up for nulls on. CAPS ON = Changes all input to Upper Case CAPS OFF = Keeps the input as typed RENUM = Re-assigns the line numbers X ALL = Exclude all lines Line Commands: A = Copy or Move After this line B = Copy or Move Before this line COL = Display a ruler COLS = ditto C = Copy the current line (and B or A) CC = Block copy of lines (requires a set of 2 CCs and B or A) D = Delete the current line DD = Block delete of lines (requires a set of 2 DDs) M = Move the current line (and B or A) MM = Block move of lines (requires a set of 2 MMs and B or A) X = Exclude this line XX = Block exclude of lines (requires a set of 2 XXs) .label = This allows you to set a label for higher level control of Change, Find and Sort commands F = Redisplay first excluded line F# = Redisplays first # number of excluded lines L = Redisplay last excluded line L# = Redisplay last # number of excluded lines O = Overlay must be used in conjunction with C or M OO = Block command for Overlay TS = Text split splits the line based on where the cursor is located ) = Shift to the Right 1 column )n = Shift to the Right n columns )) = Block Shift to the Right 1 column (requires a set of 2) ))n = Block Shift to the Right n columns ( = Shift to the Left 1 column (n = Shift to the Left n columns (( = Block Shift to the Left 1 column (requires a set of 2) ((n = Block Shift to the Left n columns uc = Change lower case to upper case ucc = Block command to change lower case to upper (requires a set of 2) lc = Change upper case to lower case lcc = Block command to change upper case to lower (requires a set of 2) TE = Text editor will wrap around and connect words that were split when typing TF = Text first line of each paragraph, will define the right boundary for the paragraph Function Keys: PF1 = Help PF2 = Split screen at the cursors location PF3 = Exit and Save PF4 = Exit or Return without Saving PF5 = Find next occurrence of last F command 136143093.doc 5 1/18/2000

PF6 = Change next occurrence of last C command PF7 = Move up PF8 = Move down PF9 = Swap between split screens PF10 = Move left PF11 = Move right PF12 = Cancel or Repeat (redisplays the previous Command Line command) PF13 24 are usually repeats of the above

136143093.doc

1/18/2000

Quick Edit (QE) How: Enter QE on the Command Line. (Warning if you are in any of the Option 9 utilities, it has its own listing of QE files). Screen:
-------------------------- EDS - Extended EDIT Panel -------------------------COMMAND ===> ENTER LIBRARY NUMBER ===> 9 MEMBER ===> CJ023* OTHER PARTITIONED DATA SET NAME VOLUME SERIAL INITIAL MACRO 1 2 3 4 5 6 7 8 9 10 11 12 (Blank or pattern for member selection list)

OR SEQUENTIAL DATA SET: ===> ===> (If not cataloged) ===> 13 14 15 16 17 18 19 20 21 22 23 24 KZZVGF.CLIST KZZVGF.JOB KZZVGF.PDS.JCL KZZVGF.MMRSC.REXX KZZVGF.PROCLIB KZZVGF.CNTLLIB KZZVGF.CNTLLIB.SAS KZZVGF.PSBLIB KZZVGF.CNTL KZZVGF.PDS.SOURCE KZZVGF.ABEND.CODES

USGREV.CE.RECORDS UDEM.BB.EB17CNTL PROCH.FD.PSDB.PDS BSG.STAGELIB BSG.PROCLIB XCC1.APOLLO.READER RDC1.PROCLIB XCC1.CNTLLIB XCC1.CNTLLIB.SAS XCC1.AFILE

Screen Set Up: How to Use the Screen: QE works just like QB, except you will be in Edit mode after pressing ENTER.

136143093.doc

1/18/2000

File Utilities (Main Menu option 3 and 9.19) 3.2 (Data Sets) Blank If the option code is left blank and an ISPF Library or Other Partitioned, Sequential, or VSAM data set name is filled in, the characteristics for that member will be displayed and retained for use in allocating similar files. A Allocates a Partitioned or Sequential data set R Renames the entire Partitioned, Sequential, or VSAM data set D Deletes the entire Partitioned, Sequential or VSAM data set C Catalogs a data set U Uncatalogs a data set S Same as Blank M V VSAM utilities 3.3 (Move/Copy Utility) C Copies an entire data set or a member of a Partitioned data set M Moves an entire data set or a member of a Partitioned data set CP Copy and Print MP Move and Print 3.4 (Data Set List Utility) Enter the entire partitioned, sequential or VSAM file name as possible. If you only remember parts of the file name, you can use the * (asterick) symbol for wildcarding or leave off the last nodes of the name and a file list will be displayed. Warning if you use the * symbol as the first node it can take a long time for the results to come back. High-Level Commands (for partitioned data sets) b browse cxrestor restore via a quicker background utility d delete e edit hdelete deletes migrated/archived files hmigrat migrates dasd files to tape m member list s allocations sort column name Used on the command line, resequences the displayed list based on the column name supplied. u uncatalogs the file = repeats the last command / Command pop up Low-Level Partitioned or Sequential Data Set Commands e edit existing or create a new member if e file-name is placed on the command line b browse d deletes sort column name Used on the command line, resequences the displayed member list based on the column name supplied.

Job Tracking/Results (9.12)

Panvalet (Main Menu option L)

136143093.doc

1/18/2000

Native TSO (Main Menu option 6 or at the READY prompt) Retrieve Retrieves messages/files sent to you from another system or user. XMIT ipc.id dsn(xxx.xxx.xxx(xxx)) Transmits a file to another user on another IPC system.

Xerox Utilities/BSG Utilities (Main Menu options 9, 30-34)

Parms (Main Menu option 0) Additional Information 1. When you see *** on the screen press the ENTER key. 2. In most cases you can enter =# on the Command Line and automatically transfer to that utility (# can be 1 for browse, 2 for edit, 9.12 for SDSF, etc.). 3. The semicolon character (;) can be used to represent the ENTER key when stringing utility options, for instance 9;37;1;1;3 will put you into the Endevor Develop Batch option. FIND Command Format: F string [NEXT] [CHARS] [X] Options: ALL PREFIX NX FIRST SUFFIX LAST WORD PREV Meanings: NEXT - locates the next occurrence of the string CHARS - locates the occurrence of the exact string X - locate the string in the EXCLUDED lines ALL - locate the first occurrence and count how many occurrences of the string occurs PREFIX locate the string where the string is used as the prefix to a word (actually looks for the string with a space before it) NX - locate the string within NON-EXCLUDED lines FIRST - locates the first occurrence of the string SUFFIX similar to PREFIX but looks at the end of the word. LAST - locates the last occurrence of the string WORD - locates the string as an entire word (must have a space before and after). PREV - locates the previous occurrence of the string Special String Characters P= displays any character P. displays any non-displayable character P# displays any numeric P- displays any non-numeric P@ displays any alphabetic P< displays any lower case alphabetic P> displays any upper case alphabetic P$ displays any special character Xhex value finds the hex value

Multiple Screens
You can open multiple swap screens the normal default is only 2. This new method will allow you to have up to 8. 1. 2. Move your cursor to the command line and type in NEW then press the F2 button. F9 will only work with 2 screens, to toggle between the other swapped screen you can: 9 1/18/2000

136143093.doc

a.

3.

Type in LIST and press F9 on the command line then move your cursor to the appropriate screen number (the 2 screens the F9 will automatically toggle between are marked with * and by their assigned number). b. Type in =n and press F9 also on the command line (=n is the number associated with the screen). c. Type in NEXT and press F9 on the command line to bring up the next screen. d. Type in PREV and press F9 on the command line to bring up the previous screen. To exit the swap session type in =X on the command line.

With Chameleon you can define Button Pads that will have the above commands already coded to them. 1. 2. 3. 4. 5. 6. While in TSO, open SETTINGS and BUTTON PADS. Type in a name (examples: Next, New, List, Prev, Exit). Either click on the Build button or type in the following String value (this example is for LIST): <HOME> list PF9. Click on the ADD button. Repeat steps 2 4 until you have all the buttons you want. Click on OK to exit.

136143093.doc

10

1/18/2000

Você também pode gostar