IEBGENER Member

IEBGENER - LABELS IEBGENER - RECORD

Advertisements


Specifies the member name and member alias of a PDS or PDSE to be created.


Syntax:


LabelStatementParameters
[label]MEMBER NAME=(name[,alias 1][,alias 2] [,...])

NAME=(name[,alias][,...])

Specifies a member name and list of its aliases.

Example:


A partitioned data set is created from sequential input.


  //TAPEDISK JOB  ...
  //STEP1    EXEC PGM=IEBGENER
  //SYSPRINT DD  SYSOUT=A
  //SYSUT1   DD  DSNAME=INPUTS,UNIT=tape,LABEL=(,SL),
  //             DISP=(OLD,KEEP),VOLUME=SER=001234
  //SYSUT2   DD  DSNAME=OUTPDS,UNIT=disk,DISP=(,KEEP),
  //             VOLUME=SER=111112,SPACE=(TRK,(10,5,5)),
  //             DCB=(RECFM=FB,LRECL=80,BLKSIZE=2000)
  //SYSIN    DD  *
	GENERATE  MAXNAME=1,MAXGPS=1
	MEMBER  NAME=MEMBER1
  /*

Let’s discuss the example in detail.

  • SYSUT1 DD defines the input data set (INPUTS) on a tape volume.
  • SYSUT2 DD defines the output PDS (OUTPDS) on a disk volume.
  • SYSIN DD defines the control data set.
  • GENERATE indicates member names are included in subsequent MEMBER statements.
  • The first MEMBER statement assigns a member name (MEMBER1) to the first member.

IEBGENER - LABELS IEBGENER - RECORD

Advertisements