How could we convert Vantage logged object data records to current format to perform them without vantage Gui ?

Document ID : KB000015884
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How could we convert Vantage logged object  data records to current format to perform them without vantage Gui ?

Answer:

 

We can use the VANLOGRD from teh CCTUSAMP library of vantage to convert Vantage logged object data records to current format and save it to a PS Disk data set.

Log data is read from logged data sets for the object, and saved on  the dynamically allocated data set prefix.objname where prefix is specified by the PREFIX= keyword, and objname is specified by the OBJECT= keyword described below.     

                                                                     

Object definitions are assembled into STEPLIB as OnnnnnVX modules where nnnnn is the object number.                                    

The OBJECT= keyword on the INPUT dd card defines the object name toget log data for.                                                    

                                                                     

FROMDATE,FROMTIME and TODATE,TOTIME keywords defines the time range for selecting log data. If not specified, only log data from the latest created log data set are selected.                                    

Object logs may be created for earlier versions of the object that might have a different layout than the current object layout as defined on STEPLIB. This utility also read old logs and convert   

records to the current format.                                       

                                                                     

You may also create a printable report of the log data.              

To do so, specify TYPE=REPORT.                                       

TYPE=RAWDATA is default, and it just converts log data to current layout without formatting a print report.                            

                                                                     

A mapping of the log data on prefix.objname is printed on SYSOUT.    

You can also run the MAPPINGS utility to generate current mapping of log objects. See MAPPINGS member on SAMPLES data set.'  

prefix.objname data set is created by this utility.        

SPACE= keyword defines the primary space to be used for the prefix.objname allocation. If data set already exists, the data set will not be replaced with new log data.       

The utility will just terminate with an error message indicating this.