What’s new at MAINFRAMES 360
(Updates May '11)...
- We are a cosmopolitan community of 400 members, from around the globe.
- Working on writing and publishing articles on CICS.
- Special article on "How do I learn Mainframe Programming"

Saturday, October 30, 2010

TSO/ISPF Commands

Q. What is the ISPF Text-Editor?
The ISPF Text-Editor is the free IBM Software, used to enter and store data in Mainframe Files. The ISPF Text-Editor is a power-packed word-processor with a plethora of advanced features, that save several key-strokes and time. Although there are other proprietary products such as File-Aid, ISPF Text-Editor is free, light-weight software.

ISPF Text-Editor supports Primary-Commands and In-line Commands. Primary-Commands are global, and affect the entire data-set such as FIND, CHANGE, SAVE, REPL, UNDO etc. You enter Primary-Commands on the command-line. Take a sneak-peek below, at how I entered the SAVE Primary-Command.

image

Line Commands apply to the current-line or Block-of-lines. You position the cursor against a Line as shown in the glimpse below, type a Line-Command like I, R, M, C, D, ( etc. and press <Enter>. Check-out, how I entered  I-Insert Command against the second-line.

image
Q. What Line-Commands can I enter in the ISPF Text-Editor?
If you are a Windows or Linux user, beware! There are differences between ISPF Text-Editor and its counterparts – Notepad, vi, e-macs etc. Unlike other word-processors, ISPF Text-editor doesn’t allow you to type continuous-text, which will auto-flow on to the next-line. If you want to type some more text on the Next-line, you must first insert a new blank-line manually. That's why you’ve got a whole bunch of Line-Commands. Life ain't easy on Mainframes.

You can use the following Line-Commands in the ISPF Text-Editor :
I – To insert a Blank new-line underneath(the current-line).
D – To delete the current-line.
M – To move/shift the current-line from one position to another(This is also called Cut-Paste)
C – To create a second-copy of the current-line(This is also called Copy-paste)
R – To replicate the current-line.

This short animated-clip demonstrates how to use Insert Line-Command to insert new lines.

Inserting Lines 
The next video-snip shows, how lines-of-text can be deleted, and removed using the Delete(D) Line-Command.

Deleting Lines

The Move(M) and Copy(C) Commands are the most useful commands from the lot. Accompanied with Move and Copy, you also need to tell, the position or destination, where the Line is to be Moved-to or Copied-to. Use a second-command to tell where to place the line-of-text – Before(B) or After(A) a destination line-no.

Moving and Copying Lines

Tuesday, October 26, 2010

Get your hands wet on a Mainframe

1. Use of Terminal Emulator Software.
The Terminal-Emulator Software which pretends to be the Dumb Terminal, is like a "Mainframe Web-Browser". With the Emulator Software, you work your way around the Mainframe Computer, and do common day-to-day tasks, such as creating new files, editing files, deleting files, copying data.

Starting a New Session
The first thing to do is launch the Terminal-Emulator on your PC, and connect to the Mainframe. This establishes a new session on the Mainframe, and allows you to perform tasks on a Mainframe.

Logging Off
It is very important that, you log-off the Session, when you are done with your work on the Mainframe. It is not acceptable, that you just close the Terminal-Emulator Window.

Keyboard Lock
Another event that frequently happens, is the Terminal-emulator may stop responding to your Key-Strokes, and goes into a XMIT-Lock Mode. This happens when your cursor is incorrectly positioned at a place(field) on the Screen, where you are not supposed to type. Hit Escape Key, several times, or try Ctrl+R to Reset the Emulator.

Beware of the Over-write Mode
Unlike most word-processors which operate in Insert-Mode, the normal(Default) mode of operation of a Terminal Emulator is Over-write Mode. Let's say, there's a string of Text AAAABBBBCCCC, which you want to be modified to AAAADDDDCCCC.

AAAABBBB|CCCC  Cursor is between B and C

AAAA|CCCC      Press Backspace four times, to erase BBBB

AAAADDDD|      Enter DDDD

Quite the opposite of what you would expect, the CCCC gets over-written by the new text DDDD.

Keyboard-Mapping
A Terminal-Emulator has Keyboard-Map. This map tells you, which key can be used to perform what actions. On Terminal Emulators like IBM Personal Communications  the Ctrl key is the standard Carriage-Return Key, whereas on others it is the Enter Key that is used to execute or run Commands. The End Key may be used for Deleting a Line of text, or End-of-Line effect. Know the Key-Actions well.

On the Mainframe, the Function-Keys are better known as Program-Function(PF) Keys. They are like shortcut-keys.

 Image363

Terminal Screen
The Terminal-Screen has 24 rows x 80 Columns of Display. 

Back in the early days of System/360, Data and Programs were stored on Punched Cards(founded by Herman Hollerith). A Punched-Card had 24 rows and 80 Columns. Data was recorded on Punched Cards by Punching holes using a Key-Punch Machine.

Image364
2. Log-on to the Mainframe.
The first step is to run the Terminal Emulator. What I have on my computer, and would suggest to beginners, is pick-up a Terminal-Emulator called z/Scope Classic. You can get the evaluation-version of z/Scope Classic Program on the Internet.

When the program starts, click on the Lightning-Bolt, and follow the Connection-Wizard and enter the Mainframe-Host correctly. Once, this is completed you are all set. When you connect, it takes you to a Welcome Splash-Screen, where you will start a new TSO-Session. When you start the TSO-Session, you would be asked to enter your TSO User-ID and Password

------------------------------- TSO/E LOGON -----------------------------------Enter LOGON parameters below: RACF LOGON parameters:

Userid ===> AGY0157

Password ===>                           New Password ===>

Procedure ===> SYSUSER                  Group Ident ===>

Acct Nmbr ===> 12345678

Size ===> 24000

Perform ===>

Command ===>

Enter an 'S' before each option desired below:

-Nomail       -Nonotice       S –Reconnect       -OIDcard

PF1/PF13 ==> Help PF3/PF15 ==> Logoff PA1 ==> Attention PA2 ==> Reshow
You may request specific help information by entering a '?' in any entry field


After the TSO/E login, the TSO READY-Prompt is displayed. Enter the command ISPF or PDF to start ISPF. 
3. ISPF Menu Navigation.
ISPF under TSO, organizes common tasks in the form of ISPF Menus.
  Image416
On the Command-Line, enter the ISPF Menu or Panel you wish to invoke.

  Menu  Utilities  Compilers  Options  Status  Help                           
------------------------------------------------------------------------------
                            ISPF Primary Option Menu
                          
 Option ===> =3.4______________________________________________________________
                                                                               
0  Settings      Terminal and user parameters            User ID . : AGY0157  
1  View          Display source data or listings         Time. . . : 10:53    
2  Edit          Create or change source data            Terminal. : 3278     
3  Utilities     Perform utility functions               Screen. . : 1        
4  Foreground    Interactive language processing         Language. : ENGLISH  
5  Batch         Submit job for language processing      Appl ID . : ISR      
6  Command       Enter TSO or Workstation commands       TSO logon : SYSUSER  
7  Dialog Test   Perform dialog testing                  TSO prefix: AGY0157  
9  IBM Products  IBM program development products        System ID : ADCD     
10 SCLM          SW Configuration Library Manager        MVS acct. : 12345678 
.----------------------------------------------.          Release . : ISPF 5.6 
| Licensed Materials - Property of IBM         |                               
| 5694-A01 (C) Copyright IBM Corp. 1980, 2004. | ands                          
| All rights reserved.                         |                               
| US Government Users Restricted Rights -      |                               
| Use, duplication or disclosure restricted    |                               
| by GSA ADP Schedule Contract with IBM Corp.  | s                             
'----------------------------------------------'
                               
                                                                              
 
4. Allocate and Delete Datasets
To allocate a new Dataset or Delete an Existing Dataset, the Dataset Allocate/Delete ISPF-Panel (3.2) is used. Enter the Dataset-Name in the format XXXXXXXX.XXXXXXXX.XXXXXXXX.XXXXXXXX separated by period, and prefixed by your TSO User-ID.

  Menu  RefList  Utilities  Help                                              
------------------------------------------------------------------------------
                               Data Set Utility               
Option ===>
A_________________________________________________________________
                                                                              
    A Allocate new data set                 C Catalog data set                
    R Rename entire data set                U Uncatalog data set              
    D Delete entire data set                S Short data set information      
blank Data set information                  V VSAM Utilities                  
                                                                              
ISPF Library:                                                                 
   Project  . . ________          Enter "/" to select option                   
   Group  . . . ________         /  Confirm Data Set Delete                   
   Type . . . . ________                                                      
                                                                              
Other Partitioned, Sequential or VSAM Data Set:                               
   Data Set Name . . . 'AGY0157.MONTHLY.SALES.REPORT'______________________
   Volume Serial . . . ________ (If not cataloged, required for option "C")  
                                                                              
Data Set Password  . .           (If password protected)                  

Allocation of new-Datasets requires the user to specify the Space-Requirement, how much space in TRKS or CYL the Dataset should occupy.

  Menu  RefList  Utilities  Help                                              
------------------------------------------------------------------------------
                            Allocate New Data Set                             
Command ===> _________________________________________________________________
                                                                   More:     +
Data Set Name  . . . : AGY0157.MONTHLY.SALES.REPORT                           
                                                                              
Management class . . . ________       (Blank for default management class)    
Storage class  . . . . ________       (Blank for default storage class)       
Volume serial . . . . ________       (Blank for system default volume) **    
Device type . . . . . ________       (Generic unit or device address) **     
Data class . . . . . . ________       (Blank for default data class)          
Space units . . . . . TRACK          (BLKS, TRKS, CYLS, KB, MB, BYTES        
                                       or RECORDS)                            
Average record unit   __             (M, K, or U)                            
Primary quantity  . . 10             (In above units)                        
Secondary quantity    10             (In above units)                        
Directory blocks  . . 00             (Zero for sequential data set) *        
Record format . . . . FB                                                    
Record length . . . . 80                                                    
Block size  . . . . . 800                                                    
Data set name type  :                (LIBRARY, HFS, PDS, or blank)  *        
                                      (YY/MM/DD, YYYY/MM/DD                   
Expiration date . . .                 YY.DDD, YYYY.DDD in Julian form       
 
5. Moving and Copying Datasets.

The Move/Copy Utility  ISPF Panel(3.3) creates a copy of a dataset, or moves the members of one Partitioned-Dataset(PDS) to another Library.

To copy a Dataset, enter c option on the Command-Line. Enter the Source or 'From Dataset-name' to copy. Like-wise, enter m option to move datasets.

  Menu  RefList  Utilities  Help                                              
------------------------------------------------------------------------------
                              Move/Copy Utility                               
Option ===> C                                                                
                                                                              
C  Copy data set or member(s)          CP Copy and print                     
M  Move data set or member(s)          MP Move and print                     
                                                                              
Specify "From" Data Set below, then press Enter key                           
                                                                              
From ISPF Library:                                                            
   Project . . .               (--- Options C and CP only         ---)        
   Group . . . .         . . .         . . .         . . .                 
   Type  . . . .                                                              
   Member  . . .                  (Blank or pattern for member list,          
                                   "*" for all members)                       
                                                                              
From Other Partitioned or Sequential Data Set:                                
   Data Set Name . . . 'AGY0157.MONTHLY.SALES.REPORT'                         
   Volume Serial . . .            (If not cataloged)                          
                                                                              
Data Set Password  . .            (If password protected) 

While copying a Library, use the Wild-Card Symbol(*), to imply, all members have to be copied.
  Menu  RefList  Utilities  Help                                              
------------------------------------------------------------------------------
                              Move/Copy Utility                               
Option ===> C                                                                
                                                                              
C  Copy data set or member(s)          CP Copy and print                     
M  Move data set or member(s)          MP Move and print                     
                                                                              
Specify "From" Data Set below, then press Enter key                           
                                                                              
From ISPF Library:                                                            
   Project . . .               (--- Options C and CP only         ---)        
   Group . . . .         . . .         . . .         . . .                 
   Type  . . . .                                                              
   Member  . . .                  (Blank or pattern for member list,          
                                   "*" for all members)                       
                                                                              
From Other Partitioned or Sequential Data Set:                                
   Data Set Name . . . 'AGY0157.DEMO.JCLLIB(*)'                         
   Volume Serial . . .            (If not cataloged)                          
                                                                              
Data Set Password  . .            (If password protected) 

To copy selected members of a Library, use Member-Mask, for example to copy all member-names beginning with C, the mask is C*. 
  Menu  RefList  Utilities  Help                                              
------------------------------------------------------------------------------
                              Move/Copy Utility                               
Option ===> C                                                                
                                                                              
C  Copy data set or member(s)          CP Copy and print                     
M  Move data set or member(s)          MP Move and print                     
                                                                              
Specify "From" Data Set below, then press Enter key                           
                                                                              
From ISPF Library:                                                            
   Project . . .               (--- Options C and CP only         ---)        
   Group . . . .         . . .         . . .         . . .                 
   Type  . . . .                                                              
   Member  . . .                  (Blank or pattern for member list,          
                                   "*" for all members)                       
                                                                              
From Other Partitioned or Sequential Data Set:                                
   Data Set Name . . . 'AGY0157.DEMO.JCLLIB(C*)'                         
   Volume Serial . . .            (If not cataloged)                          
                                                                              
Data Set Password  . .            (If password protected) 

Enter the Target or Destination 'To Data-set' for copying.
  Menu  RefList  Utilities  Help                                              
------------------------------------------------------------------------------
COPY     From AGY0157.DEMO.JCLLIB                                             
Command ===>                                                                  
                                                                              
Specify "To" Data Set Below                                                   
                                                                              
To ISPF Library:                 Options:                                     
   Project  . .                     Enter "/" to select option                
   Group  . . .                     /  Replace like-named members             
   Type . . . .                     /  Process member aliases                 
                                                                              
To Other Partitioned or Sequential Data Set:                                  
   Data Set Name . . . 'AGY0157.DEMO.JCLLIB.COPY'                             
   Volume Serial . . .           (If not cataloged)                           
                                                                              
Data Set Password  . .           (If password protected)                      
                                                                              
To Data Set Options:                                                          
   Sequential Disposition        Pack Option         SCLM Setting             
   1  1. Mod                     3  1. Yes           3  1. SCLM               
      2. Old                        2. No               2. Non-SCLM           
                                    3. Default          3. As is
          

Entering a Member-Mask, will prompt you to pick the members you would like to copy from a List-of-Members. Enter S to select members.
  Menu  Functions  Utilities  Help                                            
------------------------------------------------------------------------------
COPY        AGY0157.DEMO.JCLLIB   TO AGY0157.DEMO.JCLLIB.CO Row 00001 of 00004
Command ===>                                                 Scroll ===> CSR 
   Name     Prompt          Size    Created           Changed            ID   
S COMPILE                     15   2009/12/04   2010/10/14 20:36:22    AGY0157
. COMPJCL                      5   2010/03/07   2010/03/07 08:03:06    AGY0157
S COPY                        11   2010/01/24   2010/07/27 03:04:28    CENT01 
S COPYPS                      13   2010/01/19   2010/06/15 06:06:30    SATEN  
  **End**                                                                     

The Copy-Utility displays a Panel, when the Target-dsn does not exist. This is new. For many years, when ISPF users wanted to copy a file – PDS or Sequential, the target file had to already exist.
  Menu  Functions  Utilities  Help                                            
------------------------------------------------------------------. --
C |                       Allocate Target Data Set                        |   
C | Command ===>                                                          |   
  |                                                                       |   
S | Specified data set AGY0157.DEMO.JCLLIB.COPY                           |   
  | does not exist.                                                       |   
T | If you wish to allocate this data set, select one of the options      |   
  | below.                                                                |   
  |                                                                       |   
  | Allocation Options:                                                   |   
  |   1. Allocate using the attributes of:                               |   
T |       AGY0157.DEMO.JCLLIB                                             |   
  |    2. Specify allocation attributes                                   |   
  |                                                                       |   
  | /  Use existing SMS attributes for option 1                           |   
D |                                                                       |   
  | Instructions:                                                         |   
T |   Press ENTER to allocate data set.                                   |   
  |   Enter CANCEL or END to cancel allocation.                           |   
  '-----------------------------------------------------------------------'   
      2. Old                        2. No               2. Non-SCLM           
                                    3. Default          3.                                                                                  

6. Dataset List(DSLIST) Utility.

The Dataset-List Utility ISPF Menu(3.4) searches and lists out all the datasets matching a particular-name or pattern. Enter the dsname you want to search on the DSLIST Panel.

  Menu  Functions  Utilities  Help                                            
------------------------------------------------------------------. --
                           Data Set List Utility                             
Option ===>                                                                    
                                                                               
ank Display data set list               P Print data set list            
       V Display VTOC information           PV Print VTOC information         
                                                                              
Enter one or both of the parameters below:                                    
   Dsname Level . . . AGY0157.DEMO.JCLLIB                                          
   Volume serial  . .                                                         
                                                                              
Data set list options                                                         
   Initial View . . . 1  1. Volume       Enter "/" to select option           
                         2. Space        /  Confirm Data Set Delete           
                         3. Attrib       /  Confirm Member Delete             
                         4. Total        /  Include Additional Qualifiers     
                                         /  Display Catalog Name
              
                                                                              
When the data set list is displayed, enter either:                            
  "/" on the data set list command field for the command prompt pop-up,       
  an ISPF line command, the name of a TSO command, CLIST, or REXX exec, or    
  "=" to execute the previous command.                                         
                                                                                  

Use the proper mask, if you want to search for datasets matching a given-pattern. To list all datasets having the high-level-qualifiers AGY0157.DEMO, enter the mask AGY0157.DEMO.*.
  Menu  Functions  Utilities  Help                                            
------------------------------------------------------------------. --
                           Data Set List Utility                             
Option ===>                                                                   
                                                                              
   blank Display data set list               P Print data set list            
       V Display VTOC information           PV Print VTOC information         
                                                                              
Enter one or both of the parameters below:                                    
   Dsname Level . . . AGY0157.DEMO.*                                                
   Volume serial  . .                                                         
                                                                              
Data set list options                                                         
   Initial View . . . 1  1. Volume       Enter "/" to select option           
                         2. Space        /  Confirm Data Set Delete           
                         3. Attrib       /  Confirm Member Delete             
                         4. Total        /  Include Additional Qualifiers     
                                         /  Display Catalog Name
              
                                                                              
When the data set list is displayed, enter either:                            
  "/" on the data set list command field for the command prompt pop-up,       
  an ISPF line command, the name of a TSO command, CLIST, or REXX exec, or    
  "=" to execute the previous command.                                         
                                                                                  

The latter produces a Dataset-List shown below.
  Menu  Functions  Utilities  Help                                            
------------------------------------------------------------------. --
DSLIST - Data Sets Matching AGY0157.DEMO.*                         Row 1 of 59
Command ===>                                                 Scroll ===> CSR
                                                                              
Command - Enter "/" to select action                  Message           Volume
-------------------------------------------------------------------------------
         AGY0157.DEMO.CICS.JCLLIB                                       FUSR0D
         AGY0157.DEMO.CICS.MAPLIB                                       FUSR0C
         AGY0157.DEMO.CICS2                                             FUSR14
         AGY0157.DEMO.COPYLIB                                           FUSR17
         AGY0157.DEMO.CRDTMTH                                           ??????
         AGY0157.DEMO.DATA                                              FUSR18
         AGY0157.DEMO.DATA2                                             FUSR1D
         AGY0157.DEMO.DBRMLIB                                           FUSR11
         AGY0157.DEMO.DB2.JCLLIB                                        FUSR11
         AGY0157.DEMO.DB2.SRCLIB                                        FUSR0B
         AGY0157.DEMO.DCLGEN                                            FUSR1A
         AGY0157.DEMO.FILE                                              FUSR07
         AGY0157.DEMO.GDGFILE                                           ??????
         AGY0157.DEMO.GDGFILE.G0004V00                                  FUSR1F
         AGY0157.DEMO.HIDDEN.JCL                                        FUSR13
         AGY0157.DEMO.INPUT                                             FUSR0E
         AGY0157.DEMO.INPUT1                                            FUSR1B 
                                           

You can process one-or-more datasets, by entering a Command on the Command Field, against the Data-set Name. The Available Commands are :

V
– Viewing a Dataset, you cannot change the contents
E – Editing a Dataset, you can alter the contents
B – Browsing a Dataset, read-only mode
M – Directory-of-Members of Partitioned Dataset(PDS)
R - Rename a Dataset
I – Dataset Information(when it was created, rec-length etc.)
Z – Compress a Partitioned-Dataset

The View Mode, Edit Mode, and Browse Mode open the Dataset, and show its contents.
  Menu  Functions  Utilities  Help                                            
------------------------------------------------------------------. --
DSLIST - Data Sets Matching AGY0157.DEMO.*                         Row 1 of 59
Command ===>                                                 Scroll ===> CSR
                                                                              
Command - Enter "/" to select action                  Message           Volume
-------------------------------------------------------------------------------
         AGY0157.DEMO.CICS.JCLLIB                                       FUSR0D
         AGY0157.DEMO.CICS.MAPLIB                                       FUSR0C
         AGY0157.DEMO.CICS2                                             FUSR14
         AGY0157.DEMO.COPYLIB                                           FUSR17
         AGY0157.DEMO.CRDTMTH                                           ??????
         AGY0157.DEMO.DATA                                              FUSR18
         AGY0157.DEMO.DATA2                                             FUSR1D
         AGY0157.DEMO.DBRMLIB                                           FUSR11
         AGY0157.DEMO.DB2.JCLLIB                                        FUSR11
         AGY0157.DEMO.DB2.SRCLIB                                        FUSR0B
         AGY0157.DEMO.DCLGEN                                            FUSR1A 
E       AGY0157.DEMO.FILE                                              FUSR07
         AGY0157.DEMO.GDGFILE                                           ??????
         AGY0157.DEMO.GDGFILE.G0004V00                                  FUSR1F
         AGY0157.DEMO.HIDDEN.JCL                                        FUSR13
         AGY0157.DEMO.INPUT                                             FUSR0E
         AGY0157.DEMO.INPUT1                                            FUSR1B 
                                           

The ISPF Text-Editor is invoked and the Dataset is opened. In an Edit Session, changes can be made to the Dataset, and you can SAVE the changes.
  Menu  Functions  Utilities  Help                                                 
-------------------------------------------------------------------------------
EDIT       AGY0157.DEMO.FILE                               Columns 00001 00072
Command ===> SAVE                                             Scroll ===> CSR 
****** ***************************** Top of Data ******************************
000001 05 RAJ    A    MANOHAR                                                 
000002 02 RAM    B    SHARMA                                                  
000003 03 RAKESH V    SHAH                                                    
000004 06 RAVI   D    SINHA                                                   
000005 01 RAJESH K    LOHIA                                                   
000006 04 RATUL  L    SINGH                                                   
****** **************************** Bottom of Data ****************************
              

In a View-Session, the dataset is lock-protected. You can change the Dataset-Contents, but you cannot directly SAVE the Changes. You must REPLace the old-dataset off, and over-write the new-contents by using REPL Command.
  Menu  Functions  Utilities  Help                                                 
------------------------------------------------------------------------------- 
VIEW       AGY0157.DEMO.FILE                               Columns 00001 00072
Command ===> REPL .ZF .ZL                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
000001 05 RAJ    A    MANOHAR                                                 
000002 02 RAM    B    SHARMA                                                  
000003 03 RAKESH V    SHAH                                                    
000004 06 RAVI   D    SINHA                                                   
000005 01 RAJESH K    LOHIA                                                   
000006 08 QUASAR S    CHUNAWALA                                               
000007 04 RATUL  L    SINGH                                                   
 ****** **************************** Bottom of Data ****************************
                                                                               
                                                                               
                                                                               
.------------------------------------------------------------------------------.
| Data changes cannot be saved in a View session. Use Edit if you want to be   |
| able to save your changes. Using the REPLACE command to write data from a    |
| VIEW session can overwrite changes which were made to the data set after the |
| VIEW session began because VIEW does not provide ENQ protection at the       |
| beginning of the VIEW session.                                               |
'------------------------------------------------------------------------------'

In a Browse-Session, you can only read the Data. It is Read-Only.

If the Dataset is a Library, you can see the Directory-of-members inside the Library, by entering m against the dataset-name.
  Menu  Functions  Utilities  Help                                            
------------------------------------------------------------------. --
DSLIST - Data Sets Matching AGY0157.DEMO.*                         Row 1 of 59
Command ===>                                                 Scroll ===> CSR
                                                                              
Command - Enter "/" to select action                  Message           Volume
-------------------------------------------------------------------------------
         AGY0157.DEMO.CICS.JCLLIB                                       FUSR0D
         AGY0157.DEMO.CICS.MAPLIB                                       FUSR0C
         AGY0157.DEMO.CICS2                                             FUSR14
         AGY0157.DEMO.COPYLIB                                           FUSR17
         AGY0157.DEMO.CRDTMTH                                           ??????
         AGY0157.DEMO.DATA                                              FUSR18
         AGY0157.DEMO.DATA2                                             FUSR1D
         AGY0157.DEMO.DBRMLIB                                           FUSR11
         AGY0157.DEMO.DB2.JCLLIB                                        FUSR11
         AGY0157.DEMO.DB2.SRCLIB                                        FUSR0B
         AGY0157.DEMO.DCLGEN                                            FUSR1A
         AGY0157.DEMO.FILE                                              FUSR07
M       AGY0157.DEMO.JCLLIB                                            FUSR03
         AGY0157.DEMO.JOB                                               FUSR06
         AGY0157.DEMO.LAB.MYFILE                                        FUSR1B
         AGY0157.DEMO.LAB.MYLIB1                                        FUSR01
         AGY0157.DEMO.LAB.MYLIB2                                        FUSR13 
                                          

The List-Of-Members inside the Library is output on the screen. In a large-library containing thousands-of-members, LOCATE(L) Command is used to jump or skip to a specific Member.  
  Menu  Functions  Utilities  Help                                            
------------------------------------------------------------------. --
DSLIST            AGY0157.DEMO.JCLLIB                   Initial edit macro set
Command ===> L JOB13                                          Scroll ===> CSR
           Name     Prompt       Size   Created          Changed          ID  
_________ @COMPILE                  8  2010/09/19  2010/10/20 09:37:20  SRS022
_________ @DB2COMP                 65  2009/10/10  2010/09/06 13:55:23  AGY0157
_________ @DB2RUN                  13  2010/07/04  2010/07/24 09:22:53  AGY0157
_________ COMPILE                  15  2009/12/04  2010/10/14 20:36:22  AGY0157
_________ COMPJCL                   5  2010/03/07  2010/03/07 08:03:06  AGY0157
_________ COPY                     11  2010/01/24  2010/07/27 03:04:28  CENT01
_________ COPYPS                   13  2010/01/19  2010/06/15 06:06:30  SATEN 
_________ DEFGDG                   32  2010/05/10  2010/05/10 13:22:16  AGY0157
_________ DEFINE                   12  2010/10/05  2010/10/09 02:29:29  AGY0157
_________ DEFVSAM                  22  2009/12/11  2010/08/07 08:54:33  AGY0157
_________ JOBSTR                   24  2010/02/02  2010/02/06 08:29:21  AGY0157
_________ JOB01                    10  2010/02/08  2010/08/16 08:50:10  AGY0157
_________ JOB02                    11  2010/02/21  2010/04/16 16:57:31  AGY0157
_________ JOB03                    11  2010/04/13  2010/04/15 04:27:24  AGY0157
_________ JOB05                     3  2010/04/16  2010/04/17 03:18:49  AGY0157
_________ JOB06                    18  2010/04/18  2010/04/18 07:43:11  AGY0157
_________ JOB07                     3  2010/04/18  2010/04/18 07:52:43  AGY0157
_________ JOB08                     5  2010/04/19  2010/04/19 10:27:57  AGY0157
_________ JOB09                    10  2010/04/25  2010/04/25 09:50:14  AGY0157

After Locating the Member, enter e for editing, b for browse, v for view, r for rename, m for move, c for copy, d for delete. Additionally , you can enter j for submitting a job, if the member contains JCL.
  Menu  Functions  Utilities  Help                                            
------------------------------------------------------------------. --
DSLIST            AGY0157.DEMO.JCLLIB                   Initial edit macro set
Command ===>                                                  Scroll ===> CSR
           Name     Prompt       Size   Created          Changed          ID  
V________ JOB13                    10  2010/04/26  2010/04/26 15:55:40  AGY0157
_________ JOB14                    17  2010/04/26  2010/04/26 22:05:26  AGY0157
_________ JOB15                    27  2010/04/26  2010/06/11 12:33:50  SATEN 
_________ JOB16                    17  2010/04/26  2010/04/26 23:47:37  AGY0157
_________ JOB17                     9  2010/04/27  2010/04/27 00:01:09  AGY0157
_________ JOB18                    27  2010/04/28  2010/04/28 00:29:54  AGY0157
_________ JOB19                     4  2010/04/29  2010/04/29 23:43:35  AGY0157
_________ JOB20                    10  2010/05/31  2010/05/31 12:19:00  AGY0157
_________ JOB21                    32  2010/06/05  2010/06/11 01:39:48  AGY0157
_________ JOB22                     7  2010/07/01  2010/07/01 23:07:46  AGY0157
_________ JOB23                     9  2010/07/04  2010/07/04 03:10:15  AGY0157
_________ LISTCAT                  16  2010/02/25  2010/02/25 02:34:24  AGY0157
_________ LOADVSAM                 12  2009/12/11  2009/12/11 12:37:28  AGY0157
_________ MAPASM                   13  2010/01/17  2010/01/17 22:00:58  AGY0157
_________ MEMBER1                   5  2009/12/03  2009/12/03 21:33:21  AGY0157
_________ PRTVSAM                  10  2010/03/09  2010/03/09 21:32:24  AGY0157
_________ R                        12  2009/12/04  2010/10/14 20:37:26  AGY0157
_________ REPRO                     9  2010/10/05  2010/10/09 03:04:46  AGY0157
_________ RUN                      14  2009/12/04  2010/07/10 12:57:04  AGY0157

Related Posts Plugin for WordPress, Blogger...

Note :

Protected by Copyscape Online Copyright Protection
© Copyright – Quasar Chunawalla, 2010.
Note : The copyrights of all the material, text and pictures posted in this website belong to the author. Any instance of lifting the material from this website, shall be considered as an act of plagiarism. For any clarifications, please drop me a line at
 
back to top