Add a 3350 DASD Volume to MVS-TK5

If you installed MVS-TK5 per the instructions:

  • Shutdown MVS-TK5
  • The Hercules console is required for this task.
    • Run the set_console_mode script
    • Don’t IPL the system until needed.

With System NOT Running

Pick a device size and name

  • VOLID must be 6 chars or less
  • The “extension” must not already be assigned to another file
  • The “extension” must be in the allowed ranges for that type of volume

See the list on “Install DASD devices” page for available/taken device numbers.

For this example: 3350 DASD with a file name of dscob1.140 and Volume id of DSCOB1.

Create the entry in conf/tk5.cnf

Add the new device

At the end of the # TK5 DASD section:

0140 3350 dasd/dscob1.140

Use dasdinit64 to create the files in /dasd/

cd /MVS-TK5/dasd/

dasdinit -a dscob1.140 3350 dscob1

IPL MVS-TK5

Create the JCL to run ICKDSF to format the DASD

Create a new member in HERC01.TEST.CNTL(ICKDSF) and type in the following JCL:

//HERC01A JOB (1),ICKDSF,CLASS=A,MSGCLASS=H
//ICKDSF EXEC PGM=ICKDSF,REGION=4096K
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
  INIT UNITADDRESS(140) -
       NOVERIFY -
       VOLID(DSCOB1) -
       OWNER(HERCULES) -
       VTOC(0,1,15)
//

Make sure the volume is offline and deallocated

In the Hercules/MVS console:

/v 140,offline

/s dealloc

Run the ICKDSF JOB

Submit the JCL to format the DASD Volume.

This will be held-up by the system, so go the Hercules/MVS console and you should see something like:

*00 ICK003D REPLY U TO ALTER VOLUME 140 CONTENTS, ELSE T

At the prompt /r 00,u to allow the job to continue.

Note: replace the 00 with the number that is after the * in the message from the system.

The JOB must have a RC=0000 to be successful.

Add the Volume to SYS1.PARMLIB(VATLST01)

Copy an existing 3350 entry to bottom of list and update.

IMPORTANT Make sure to keep the same spacing and formatting as the original entry. Also, this member is mixed-case. Be sure to Uppercase the VOLID.

DSCOB1,1,2,3350 ,N DSCOBOL Workspace

Manually Shutdown and re-IPL the System

Login and use Utilities/VTOC (3.7) to make sure the Volume is available.

If you installed MVS-TK5 per the instructions:

  • Shutdown MVS-TK5
  • Run the set_daemon_mode script
  • Reboot the RPi.