Skip to content

Instantly share code, notes, and snippets.

@plavjanik
Last active June 12, 2024 07:26
Show Gist options
  • Save plavjanik/fbf4fbf4318a1b7a44ac0381a1a39717 to your computer and use it in GitHub Desktop.
Save plavjanik/fbf4fbf4318a1b7a44ac0381a1a39717 to your computer and use it in GitHub Desktop.
JCL that creates a zFS filesystem on z/OS
${jobcard}
//DEFINE EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER (NAME(${prefix}.ZFS) -
LINEAR -
TRACKS(80000 80000) -
SHAREOPTIONS(3))
//CREATE EXEC PGM=IOEFSUTL,REGION=0M,COND=(0,LT),
// PARM=('format -aggregate ${prefix}.ZFS')
//SYSPRINT DD SYSOUT=*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment