How do I scan a master file for a string of data in both upper and lower case?
search cancel

How do I scan a master file for a string of data in both upper and lower case?

book

Article ID: 54985

calendar_today

Updated On:

Products

PanAudit Plus Easytrieve Report Generator PAN/SQL Librarian CA 2E

Issue/Introduction

Description:

Need to find all members that contain a string of data both in upper and lower case.

Solution:

Using the JCL below scanning a string of PRT and prt:

//LIB2          EXEC  PGM=AFOLIBR,PARM='DEPTH=25'         
 //MASTER    DD  DSN=your.master.file,DISP=SHR       
 //OSJOB      DD  DUMMY                               
 //LIST         DD  SYSOUT=*                            
 //SYSPRINT DD  SYSOUT=*                            
 //SYSIN      DD   *                                   
 -OPT UTILITY                                                
 -SCAN /PRT/                                                 
 -SCAN /prt/                                                 
 -END                                                        
 /*

Environment

Release:
Component: C21E