How to limit the scan to members that have only been created or modified within a specific timeframe?
search cancel

How to limit the scan to members that have only been created or modified within a specific timeframe?

book

Article ID: 247199

calendar_today

Updated On:

Products

PDSMAN

Issue/Introduction

How to limit the scan to members that have only been created or modified within a specific timeframe?

Environment

Release : 7.7

Component : PDSMAN  Z/OS

Resolution

You can just use the EZYEDIT SCAN command. 

//SCAN    EXEC PGM=PDSEASY  
//SYSPRINT DD   SYSOUT=*     
//EZYPRINT  DD   SYSOUT=*    
//SYSIN    DD *              
 MSGID ON                    
 MSL 'your.data.set'      
 IF CHANGED > 16/10/26       
 HC                 -> this prints the resulting member list                          
 SCAN * ' your string '              
 END                         
/*