Determine If Factor Data Has Been Written To The Top Secret VSAM File
search cancel

Determine If Factor Data Has Been Written To The Top Secret VSAM File

book

Article ID: 275759

calendar_today

Updated On:

Products

Top Secret

Issue/Introduction

Is there a way to search Top Secret to determine if the factor data has been written to the Top Secret VSAM file?

Resolution

You can dump the VSAM file to see if it is there. Here is sample jcl to do this:

Insert valid jobcard here
//STEP1    EXEC  PGM=IDCAMS                                         
//SYSPRINT DD    SYSOUT=*            
//INFILE   DD  DSN=<VSAM File>,DISP=SHR  
//SYSIN    DD    *                       
  PRINT INFILE(INFILE) FROMKEY('CERT') COUNT(2)       
  PRINT INFILE(INFILE) FROMKEY('MFAK') COUNT(20)