Archiving Packages

 

To archive packages from the PACKAGE dataset

 

=o.o.l;1;2;6

 

------------------------------- Batch Package ---------------------------------

  Command ==>                                                                   

                                                                                

  Enter the SCL data set name and select an action:                            

    6 1. Build SCL             2. Edit SCL              3. Browse SCL          

                               5. Build Additional JCL  6. Submit JCL          

                                                                               

  SCL data set name:                                                            

    Project.. DHR.BDA                                                          

    Group.... TEAM51                                                           

    Type..... NDVR.SCL                                                          

    Member... PKG1DAY                                                        

  Other sequential or partitioned data set:                                    

    Data set name.. ____-------------------------------                         

                                                                               

  SCL processing options:                                                      

    Append to existing SCL.. B (Y/N)                                           

    Include additional JCL.. - (Y/N)                                           

  JCL JOB statements                                                           

//TS51S00# JOB (DHRTEC,ADIX),'ARTIE PALETTA',TIME=1440,

//    NOTIFY=TS51S00,MSGCLASS=2,CLASS=H,REGION=0M      

/*JOBPARM ROOM=ADIX                                    

 

Member to use os specific days

On Monday  use PKG3DAY

or if there was a holiday on Friday or Monday use PKG3DAY,

if 2 days off use PKG4DAY

for Tuesday – Friday use PKG1DAY

 

PKG1DAY

 

000001 COMMIT PACKAGE '*'                                                    

000002  OPTIONS WHERE OLDER THAN 1 DAYS                                      

000003  .                                                                    

000004 ARCHIVE PACKAGE '*'                                                   

000005 TO DSNAME 'DHR.BDA.ARCHIVE.NDVR.PACKAGES.Y2010'                       

000006 ******* DELETES ANY PKGS COMMITTED OR PKG NOT ENABLED BACKOUT         

000007 OPTIONS DELETE AFTER ARCHIVE                                          

000008 WHERE OLDER THAN 1 DAYS.                                              

000009                                                                       

000010 INSPECT PACKAGE '*'                                                    

000011  .                                                                    

000012

 

 

PKG3DAY 

 

000001 COMMIT PACKAGE '*'                                                    

000002  OPTIONS WHERE OLDER THAN 3 DAYS                                      

000003  .                                                                    

000004 ARCHIVE PACKAGE '*'                                                   

000005 TO DSNAME 'DHR.BDA.ARCHIVE.NDVR.PACKAGES.Y2010'                        

000006 ******** DELETES ANY PKGS COMMITTED OR PKG NOT ENABLED BACKOUT        

000007 OPTIONS DELETE AFTER ARCHIVE                                          

000008 WHERE OLDER THAN 3 DAYS.                                               

000009                                                                       

000010 INSPECT PACKAGE '*'                                                   

000011  .                                                                    

000012 

 

PKG4DAY

 

000001 COMMIT PACKAGE '*'                                                   

 000002  OPTIONS WHERE OLDER THAN 4 DAYS                                     

 000003  .                                                                   

 000004 ARCHIVE PACKAGE '*'                                                  

 000005 TO DSNAME 'DHR.BDA.ARCHIVE.NDVR.PACKAGES.Y2010'                      

 000006 ******** DELETES ANY PKGS COMMITTED OR PKG NOT ENABLED BACKOUT       

 000007 OPTIONS DELETE AFTER ARCHIVE                                         

 000008 WHERE OLDER THAN 4 DAYS.                                             

 000009                                                                      

 000010 INSPECT PACKAGE '*'                                                   

 000011  .                                                                   

 000012

 

 

 

Giving the auditors their yearly report

 

 

O.O.L;1;2;U;1

 

-

----------------------------- REPORTING INTERFACE -----------------------------

 OPTION ===>                                                                   

                                                                                

    1  MASTER           - Build Master Control File report JCL                 

    2  SMF              - Build SMF historical report JCL                      

    3  PACKAGE          - Build Package report JCL                             

    4  FOOTPRINT        - Build Footprint report JCL                           

    5  UNLOAD           - Build Unload/Reload report JCL                       

    6  SHIPMENTS        - Build Package Shipment report JCL                    

    7  ARCHIVED PACKAGE - Build Archived Package report JCL                    

                                                                               

    E  EDIT             - Edit Report JCL                                      

    S  SUBMIT           - Submit Report JCL for Batch execution                

                                                                               

                                                                               

                                                                                

  Job statement information:                                                   

                                                                               

   ===> //TS51S00# JOB (DHRTEC,ADIX),'ARTIE PALETTA',TIME=1440,                

   ===> //    NOTIFY=TS51S00,MSGCLASS=2,CLASS=H,REGION=0M                      

   ===> /*JOBPARM ROOM=ADIX                                                    

   ===>                                                                         

                                                                               

 

Option 7 ARCHIVED PACKAGE - Build Archived Package report JCL

 

--------------------------- ARCHIVED PACKAGE REPORTS --------------------------

 COMMAND ===>                                                                  

                                                                                

 SELECT ARCHIVE REPORTS:                                                       

  _ 56  Package summary   _ 57  Package Approver   s 58  Package detail        

                                                                               

 FROM ARCHIVE TAPE:  (enter tape information in JCL format)                    

 ===>  //ARCINPT DD DISP=SHR,DSN=DHR.BDA.ARCHIVE.NDVR.PACKAGES.Y2009           

 ===>                                                                          

 ===>                                                                           

                                                                               

    PACKAGE ID   ===> PR*              APPROVER GROUP  ===>                    

                                       APPROVER        ===>                    

    STATUS: (Y/N)                                                              

     In-Edit.... Y   Executed.... Y   In-Approval.... Y   Aborted...... Y      

     Denied..... Y   Committed... Y   Approved....... Y   Backed-Out... Y      

                                                                               

    SELECT WHERE DATE :    (MMDDYYYY format only)                              

        WINDOW STARTS AFTER ===>           BEFORE ===>                         

        CREATED       AFTER ===>           BEFORE ===>                         

        EXECUTED      AFTER ===>           BEFORE ===>                         

        CAST          AFTER ===>           BEFORE ===>                         

        BACKED OUT    AFTER ===>           BEFORE ===>                         

                                                                               

 

 Hit ENTER

 

----------------------------- REPORTING INTERFACE ----------- JOB STEP CREATED

OPTION ===>                                                                  

                                                                             

   1  MASTER           - Build Master Control File report JCL                

   2  SMF              - Build SMF historical report JCL                     

   3  PACKAGE          - Build Package report JCL                            

   4  FOOTPRINT        - Build Footprint report JCL                          

   5  UNLOAD           - Build Unload/Reload report JCL                      

   6  SHIPMENTS        - Build Package Shipment report JCL                   

   7  ARCHIVED PACKAGE - Build Archived Package report JCL                   

                                                                             

   E  EDIT             - Edit Report JCL                                     

   S  SUBMIT           - Submit Report JCL for Batch execution               

                                                                             

                                                                             

                                                                              

 Job statement information:                                                  

                                                                             

  ===> //TS51S00# JOB (DHRTEC,ADIX),'ARTIE PALETTA',TIME=1440,               

  ===> //    NOTIFY=TS51S00,MSGCLASS=2,CLASS=H,REGION=0M                     

  ===> /*JOBPARM ROOM=ADIX                                                   

  ===>                                                                       

                                                                              

 You’ll see “JOB STEP CREATED” in the top right corner                                                                                                                                                        

Hit “S” to submit job

 

After getting a condition code=0

Go to “SDSF STATUS DISPLAY ALL CLASSES 

 

1) select your STSOUT with a ?

 

2) XDC BSTRPTS  REPORTS            102 TS51S00  2 LOCAL              174,544

 To “DHRTSO.TEAM51.TXT133” (which is a PDS)

 Member (       )

 

3) FTP member to an ASCII on your PC

 

4) attach this file to an email and send to auditor