VSEn/Add DASD: Difference between revisions

From The Mainframe Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
  // EXEC ICKDSF,SIZE=AUTO                                 
  // EXEC ICKDSF,SIZE=AUTO                                 
     INIT UNIT(202) NOVFY FBAVTOC(306176,228,8192) VOLID(CBR000)
     INIT UNIT(202) NOVFY FBAVTOC(306176,228,8192) VOLID(CBR000)
    U
     INIT UNIT(203) NOVFY FBAVTOC(306176,228,8192) VOLID(CBR001)
     INIT UNIT(203) NOVFY FBAVTOC(306176,228,8192) VOLID(CBR001)
    U
  /*                                                       
  /*                                                       
  /&
  /&
Make sure to `ONLINE` the DASD first on the console.

Revision as of 12:26, 17 March 2023

To add DASD, you need to have it available on your FC SAN and have available FCP devices. Then, in the define device screen, add a device, specify FBA SCSI and use the menus to provide the LUN and target WWN. Once this is done, reIPL.


Afterwards, you need to plot down a VTOC and init the DASD using ICKDSF. The following JCL template helps:


// JOB NEWDASD                                                                             
// EXEC ICKDSF,SIZE=AUTO                                
    INIT UNIT(202) NOVFY FBAVTOC(306176,228,8192) VOLID(CBR000)
    U
    INIT UNIT(203) NOVFY FBAVTOC(306176,228,8192) VOLID(CBR001)
    U
/*                                                      
/&

Make sure to `ONLINE` the DASD first on the console.