Skip to content

Instantly share code, notes, and snippets.

@cobergmd
Last active May 15, 2018 13:42
Show Gist options
  • Save cobergmd/08dab635efc1708fe3d39a7fab6f5b34 to your computer and use it in GitHub Desktop.
Save cobergmd/08dab635efc1708fe3d39a7fab6f5b34 to your computer and use it in GitHub Desktop.
Allocate a VSAM linear dataset
//MTBGLDSX JOB 43312,'CJO',
// CLASS=C,MSGCLASS=X,MSGLEVEL=(1,1),
// NOTIFY=&SYSUID,TIME=1,REGION=4096K
//*
//* ALLOCATE A VSAM LINEAR DATASET
//*
//CLUSTPG EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//DIVPAK DD UNIT=3390,VOL=SER=SYSDA,DISP=(NEW,CATLG)
//SYSIN DD *
DEFINE CLUSTER (NAME(DIV.TEST) -
VOLUMES(DIVPAK) -
TRACKS(1,1) -
SHAREOPTIONS(1,3) -
LINEAR)
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment