You can use the zSeries File System (zFS) or hierarchical file system (HFS) for ESD downloads.
This procedure describes how to perform the following tasks:
Note: You must have SUPERUSER authority to do this.
Important! USS commands are case-sensitive.
Follow these steps:
//DEFINE EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//AMSDUMP DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER ( +
NAME(your_zFS_dataset_name) +
STORAGECLASS(class) +
LINEAR +
CYL(primary secondary) +
SHAREOPTIONS(3,3) +
)
/*
//FORMAT EXEC PGM=IOEAGFMT,REGION=0M,
// PARM=('-aggregate your_zFS_dataset_name -compat')
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//CEEDUMP DD SYSOUT=*
//*
//ALCHFS EXEC PGM=IEFBR14 //CAESD DD DSN=yourHFS_dataset_name, // DISP=(NEW,CATLG,DELETE),UNIT=3390, // DSNTYPE=HFS,SPACE=(CYL,(primary,secondary,1))
The file system is allocated.
Note: Ensure that the zFS or HFS data set name that you use conforms to your data set naming conventions for USS file systems. If the allocation of the file system data set fails, it is because of environmental settings not allowing for the allocation. On an HFS, try using the ISPF 3.2 Data Set Utility to allocate your HFS data set.
cd /u/maint/ mkdir CA cd CA mkdir CAESD
Note: This document refers to this structure as yourUSSESDdirectory.
The mount point is created.
MOUNT FILESYSTEM('your_zFS_dataset_name')
MOUNTPOINT('yourUSSESDdirectory')
TYPE(ZFS) MODE(RDWR)
PARM(AGGRGROW)
MOUNT FILESYSTEM('your_HFS_dataset_name')
MOUNTPOINT('yourUSSESDdirectory')
TYPE(HFS) MODE(RDWR)
The file system is mounted.
chmod -R 775 /yourUSSESDdirectory/
Write access is granted.
Note: For more information about the chmod command, see the IBM z/OS UNIX System Services User Guide (SA22-7802).
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |