Example 6 - Dumping records as input to create new records

The OUTPUT command causes all CREATE records to be written to data set EYUIR01.MYOUT1.

To dump all versions of the CICS® resource definitions in the correct order, directly to a data set that is to be resubmitted as input for creating new records, you would specify the following:
  OUTPUT DATASET DSNAME(EYUIR01.MYOUT1) INQUOTES(NO);
  CONTEXT EYUPLX01;
  DUMP CSYSDEF  NAME(*);
  DUMP CSYSGRP  GROUP(*);
  DUMP RESGROUP RESGROUP(*);
  DUMP RESDESC  RESDESC(*);
  DUMP RASGNDEF RESASSGN(*);
  DUMP RASINDSC RESDESC(*)
                RESASSGN(*);
  DUMP RESINDSC RESDESC(*)
                RESGROUP(*);
  DUMP CONNDEF  NAME(*);
  DUMP SESSDEF  NAME(*);
  DUMP xxxxDEF  NAME(*);
         .
         .
         .
  DUMP CONINGRP CONNGROUP(*)
                CONNNAME(*);
  DUMP SESINGRP SESSGROUP(*)
                SESSNAME(*);
  DUMP xxxINGRP xxxxGROUP(*)
                xxxxNAME(*);
         .
         .
         .
  DUMP SYSLINK  FROMCSYS(*)
                TOCSYS(*);
where:
  • xxxxDEF is the CICS resource definition type. Examples are CONNDEF, FILEDEF, and MAPDEF, the xxxx string representing either a 3- or 4- character string and is the same for xxxxDEF, xxxxNAME, and xxxxGROUP.
  • xxxxNAME is the name of the CICS resource definition, given as an attribute in the xxxINGRP resource table.
  • xxxxGROUP is the name of the resource group to which the resource definition belongs, given as an attribute in the xxxINGRP resource table.
  • xxxINGRP is the CICSPlex SM Business Application Services definition describing the membership of the CICS resource definition in a resource group. Examples are CONINGRP, FILINGRP, and MAPINGRP.
Note: The xxxxDEF and xxxINGRP resource tables also include version attributes, which enable you to process a specific version of the record. You can specify:
  • DEFVER(n) for an xxxxDEF record
  • xxxxVER(n) for an xxxINGRP record


eyua7bg.html | Timestamp icon Last updated: Sunday, 4 June 2017