CSM generated Flatfile to RECEIVE and APPLY CHECK Maintenance
search cancel

CSM generated Flatfile to RECEIVE and APPLY CHECK Maintenance

book

Article ID: 206603

calendar_today

Updated On:

Products

Datacom

Issue/Introduction

CSM provides the option of generating flatfiles of maintenance that can then be used to apply the maintenance using traditional SMP/E JCL.

It produces two files, one containing the PTFs and a second file containing the HOLDDATA.

Is there sample JCL that shows how to use these two files generated by CSM to RECEIVE and APPLY CHECK the maintenance? 

Environment

Release : 15.1

Component : CA Datacom/AD

Resolution

Below is a sample of the JCL that you can use to RECEIVE and APPLY CHECK the maintenance using the two files generated by MSM. Please note the following is an example of APPLY CHECK. To APPLY the maintenance change APPLY CHECK to APPLY.

//RECEIVE  EXEC PGM=GIMSMP,REGION=0M                          
//SYSUT1   DD DSN=&&SYSUT1,UNIT=SYSDA,SPACE=((6400,6400)),    
//            DISP=(NEW,DELETE)                               
//SMPPTFIN DD DISP=SHR,DSN=HLQ.DB151.PTFS               
//SMPHOLD  DD DISP=SHR,DSN=HLQ.DB151.PTFS.HOLD            
//SMPCSI   DD DISP=SHR,DSN=HLQ.DB151.CSI                  
//SMPCNTL  DD *                                               
  SET BOUNDARY(GLOBAL) .                                      
  RECEIVE SYSMODS HOLDDATA                                    
   FORFMID (                                                  
  fmid1
    fmid2
    fmid3
    fmid4

          ).                                                  
/*                                                            
//APPLY    EXEC PGM=GIMSMP,REGION=0M,PARM='DATE=U'            
//SMPLOGA  DD SYSOUT=*                                        
//SMPCSI   DD DISP=SHR,DSN=HLQ.DB151.CSI                  
//SMPCNTL  DD *                                               
  SET BOUNDARY(CAIT0).                                        
  APPLY CHECK PTFS BYPASS(HOLDSYS HOLDERR).                   
 FORFMID (                                                  
      fmid1
    fmid2
    fmid3
    fmid4
  BYPASS(HOLDSYS HOLDERR).                                    
/*                                                            
                                       
Where HLQ.DB151.PTFS = The dataset name that contains the PTFs
Where HLQ.DB151.PTFS.HOLD = The dataset name that contains the HOLDDATA 
Where HLQ.DB151.CSI HLQ.DB151.CSI = The CSI dataset name 
Where fmid1 = Product FMID for each of the FMIDs in your CSI for which you are applying Maintenance.
    fmid2 = Product FMID
    fmid3 = Product FMID
    fmid4 = Product FMID