Space announcement

   

This space provides the same content as before, but the organization of the home page has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

Create and initialize archive history data set

Run a job such as that shown in the following figure to create and initialize the archive history data set with six cylinders.

//HISTORY JOB (5212),'EXAMPLE',CLASS=A,MSGCLASS=X,REGION=4M,            
//         NOTIFY=&SYSUID                                               
//*                                                                     
//*=====================================================================
//* DB2 VERSION 8 (EXPANDED) REQUIRES 6 CYLINDERS                       
//* USE THIS JOB TO CREATE AND INITIALIZE THE ARCHIVE HISTORY DATASET   
//* IF IT WAS NOT CREATED DURING THE PACLOG INSTALLATION.               
//*=====================================================================
//*                                                                     
//ALMHIST  EXEC PGM=IEBDG                                               
//SYSPRINT DD SYSOUT=*                                                  
//HISTORY  DD DSN=BMCALM.DBW1.HISTORY,DISP=(,CATLG),                    
//            UNIT=SYSDA,SPACE=(CYL,6),                                 
//            DCB=(RECFM=FB,LRECL=196,BLKSIZE=8820)                     
//SYSIN    DD *                                                         
  DSD OUTPUT=(HISTORY)                                                  
  FD NAME=HDR1,LENGTH=01,STARTLOC=02,PICTURE=1,B'1'                     
  FD NAME=HDR2,LENGTH=01,STARTLOC=04,PICTURE=3,B'196'                   
  CREATE QUANTITY=1,FILL=X'00',NAME=(HDR1,HDR2)                         
/*                                                                      
//
Related topic
Was this page helpful? Yes No Submitting... Thank you

Comments