What is the difference between a Panvalet member's LEVEL and VERSION?

book

Article ID: 49719

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 PanApt CA PanAudit 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 2E CA SOLVE

Issue/Introduction

Description:

Many are confused about the difference between the LEVEL number that displays on the Panlib Member Selection List (MSL) and the term LEVEL.

Solution:

The LEVEL number on the MSL reflects every change you make in any way. If you enter and edit a member, save and then repeat this process multiple times in one edit session, the LEVEL will be incremented each time. This can be reflected in the member in the right columns depending upon settings.

VERSIONs are stored copies of the member. You can MATCH-MERGE a delete file to get multiple VERSIONs. Note that the PVOPT parameter DELVERS determines how many VERSIONS you can create so it must be greater than 0. (Please see page 5-52 of System Management Guide)

Here is very basic example with insignificant columns removed:

 PVEDIT ---- TEST.PANLIB(ANEW)-----------------------------------------------  
 COMMAND ===>                                                
 ****** ***************************** Top of Data *************************** 
 000100 this is a new member                                                  
 000200 close and reopen in same edit session generates LEVEL change          
 000300 now I will do a BACKUP to a HISTORY file                              
 000400 this will save the first VERSION                                      
 ****** **************************** Bottom of Data ************************* 
                                                                              
 -------- PVEDIT MSL Option(D) - MEMBER SELECTION LIST     ANEW SAVED 
 COMMAND ====>                                               
 Enter Panvalet Function:                                                    
 | S or B -Browse, M -MSL Options & Dataset Info                              
 |                                                                            
 |  MEMBER    LIB LVL USER  F LANG STAT  
 V  ---------- -  --- ----- - ----- ---  
    ANEW       1    4     0 Y DATA  TAE       
                                        
                                      
 000100 this is a new member                                                  
 000200 close and reopen in same edit session generates LEVEL change          
 000300 now I will do a BACKUP to a HISTORY file                              
 000400 this will save the first VERSION                                      
 000500                                                                       
 000600 after the ++DUMP I make more changes                                  
 000700 then perform a MATCH MERGE combining this PANLIB and the HISTORY file 
 000800 this will create a VERSION 2                                          
 ****** **************************** Bottom of Data ************************* 
                                                                              
 -------- PVEDIT MSL Option(D) - MEMBER SELECTION LIST      ANEW SAVED 
 COMMAND ====>                                                    
 Enter Panvalet Function:                                                     
 | S or B -Browse, M -MSL Options & Dataset Info                              
 |                                                                            
 |  MEMBER    LIB LVL USER  F LANG STAT  
 V  ---------- -  --- ----- - ----- ---  
    ANEW       1    5     0 Y DATA  TAE 
      
                                                                              
 //STEP1       EXEC PGM=PAN#2                                                
 //PANDD1   DD DISP=SHR,DSN=TEST.PANLIB                                       
 //PANDD2   DD DISP=(NEW,CATLG),DSN=PANVALET.HISTFIL2,                        
 //            DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120),                          
 //            UNIT=SYSDA,SPACE=(CYL,(1,1))                 OUTPUT            
 //PANDD3   DD DISP=SHR,DSN=PANVALET.HISTFILE               INPUT             
 //SYSPRINT DD SYSOUT=*                                                       
 //SYSPUNCH DD SYSOUT=*                                                       
 //SYSIN    DD *                                                              
 ++OPTION INPUT                                                               
 ++DELETE NAME=ANEW                                                           
 ++PRINT 1-UP,BACKUP                                                          
                                                                              
INPUT=PANVALET.HISTFILE                OUTPUT=PANVALET.HISTFIL2               
*FROM INPUT        *FROM LIBRARY        *TO OUTPUT                            
NAME LVL VERSN     NAME  LVL REASON      NAME  LVL VERSN  STATEMENTS          
                   ANEW    5 NAMED       ANEW    5     1           8          
ANEW   4     2                           ANEW    4     2           4          
                                                                              
 //STEP1       EXEC PGM=PAN#2                                                 
 //SYSPRINT    DD  SYSOUT=*                                                   
 //PANDD1      DD  DSN=TEST.PANLIB,DISP=SHR                                   
 //PANDD2      DD  DUMMY                                                      
 //PANDD3      DD  DSN=PANVALET.HISTFIL2,DISP=SHR                             
 //SYSIN       DD  *                                                          
 ++RESTORE  ANEW,,2
 /*
 //* THE VALUE 2 FOR VERSION TAKES YOU BACK ONE VERSION.
 //* NO ENTRY OR THE VALUE 1 WOULD INDICATE THE MOST CURRENT VERSION. 
 
                                                                             
-------- PVBROWSE MSL Option(D) - MEMBER SELECTION LIST 
 COMMAND ====>                                                   
 Enter Panvalet Function:                                                     
 | S or B -Browse, M -MSL Options & Dataset Info                              
 |                                                                            
 |  MEMBER    LIB LVL USER  F LANG STAT  
 V  ---------- -  --- ----- - ----- ---  
    ANEW       1    4     0 Y DATA  TAE

Environment

Release: PVALET00200-14.5-Panvalet
Component: