PAN#1 issued CC=4 with INCLUDE NOT PRODUCTION msg

book

Article ID: 125261

calendar_today

Updated On:

Products

CA Database Analyzer (IMS Tools) CA Mainframe Configuration Manager for IMS for z/OS IMS TOOLS - MISC CA Compress Data Compression (IMS Tools) CA Database Analyzer for IMS for z/OS CA Database Copier for IMS for z/OS CA Database Organizer for IMS for z/OS CA Mainframe Extended Terminal Manager (IMS Tools) CA High Performance Recovery for IMS for z/OS CA Database Organizer (IMS Tools) CA Mainframe Program Restart Manager for IMS for z/OS CA Secondary Index Builder for IMS for z/OS CA Secondary Index for IMS for z/OS CA JARS CA JARS Resource Accounting CA JARS SMF Director CA JMR CA MIM Resource Sharing (MIM) CA MIM Data Sharing (MII) CA MIM Tape Sharing (MIA) CA MIM Message Sharing (MIC) MIM BASE Nastel AutoPilot for WebSphere MQ CA Panvalet CA QuickFetch CA Raps VSE CA Scheduler VSE CA SMR CA SOLVE:Operations Automation SOLVE:Access Session Management CA SOLVE:CA Mainframe Connector CA SOLVE:FTS CA SYSVIEW Performance Management NXBRIDGE - SYSYVIEW/ENDEVOR CA SOLVE

Issue/Introduction

We were running the following PAN#1 ++WRITE WORK job and it is getting a CC=4 .
I'm trying to understand what the problem is.

Below is the output from the step:

                                                        CA-PANVALET              
                                         THE PROGRAM MANAGEMENT AND SECURITY SYSTEM  
               PROGRAMS AND ALL SUPPORTING MATERIALS COPYRIGHT 2010 BY CA.      
 ++OPTION OUTPUT,PDSOUT,B75G14                                                             
 ***** ABOVE ACTION SATISFACTORILY COMPLETED *****                              
 ++WRITE WORK,B75G14                                                                      LEVEL=004 DATE=01/23/19
        ++INCLUDE 6COMDATE                                               00227    INCLUDE NOT PRODUCTION          NEST 1 
 ***** ABOVE ACTION SATISFACTORILY COMPLETED *****                              
 

Cause

The reason for the RC 4 in the Panvalet step is because the member being written out - B75G14 , is in Production Status - PAE
and the INCLUDE member - 6COMDATE   ,  is in Test Status - TAE.

In the Panvalet DocOps INCLUDE Command article -
https://docops.ca.com/ca-panvalet/14-6/en/using/pan-1-library-statements/include-command


In the Operations section, it explains:
".. .. .. If a member containing ++INCLUDE commands is in PRODuction status, all members included must also be in PRODuction status. However, members in TEST status can ++INCLUDE either PRODuction or TEST members."

 

Environment

Release:
Component: PANVLT

Resolution

  Verify the Status of the members using a PAN#2 ++PRINT 1-UP report.
//PAN1UP EXEC PGM=PAN#2    
//SYSPRINT DD SYSOUT=*  
//SYSPUNCH DD SYSOUT=*  
//PANDD1 DD DISP=SHR,DSN=hlq.your.PANLIB   
//SYSIN DD *          
++PRINT 1-UP          
/* 
 


If 6COMDATE is in TAE status, we need to change the status of 6COMDATE to Production using PAN#1 ++STATUS job like this:
//PANSTAT EXEC PGM=PAN#1                           
//SYSPRINT DD SYSOUT=*                           
//SYSUDUMP DD SYSOUT=*                           
//PANDD1   DD DISP=SHR,DSN=hlq.your.PANLIB
//SYSIN DD *                                     
++STATUS 6COMDATE,PROD                              
/*                                               




Or apply special fix $2SF005
++USERMOD($2SF005)   REWORK(1995004).    /*                       
  SPECIAL ZAP TO PERMIT PRODUCTION STATUS MEMBERS TO INCLUDE TEST   STATUS MEMBERS.     

The Special fixes are in the SPECLMVS member in the CBA3SAMP library.