JCL - IEHPROGM Example 7: Rename a Partitioned Data Set Member



Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com

JCL - IEHPROGM Example 7: Rename a Partitioned Data Set Member

In this example, a member of a partitioned data set is renamed.
Neste exemplo, um membro de um conjunto de dados particionado é renomeado.

  //REN      JOB  ...
  //STEP1    EXEC PGM=IEHPROGM
  //SYSPRINT DD  SYSOUT=A
  //DD1      DD  VOL=SER=222222,DISP=OLD,UNIT=disk
  //SYSIN    DD  *
     RENAME VOL=disk=222222,DSNAME=DATASET,NEWNAME=BC,MEMBER=ABC
  /*

The control statements are discussed as follows:
As declarações de controle são discutidas a seguir:

  • DD1 DD defines a permanently mounted volume.
  • SYSIN DD defines the input data set, which follows in the input stream.
  • RENAME specifies that member ABC in the partitioned data set DATASET, which resides on a disk volume, is renamed BC.

  • DD1 DD define um volume montado permanentemente.
  • SYSIN DD define o conjunto de dados de entrada, que segue no fluxo de entrada.
  • RENAME especifica que o membro ABC no conjunto de dados particionados DATASET, que reside em um volume de disco, é renomeado como BC.

Parent topic: IEHPROGM Examples



© Copyright IBM Corp.