Skip to Content
Introduction to the IBM Application Development Tools on z/OS and OS/390
book

Introduction to the IBM Application Development Tools on z/OS and OS/390

by Joe DeCarlo, Sylvie Delahaye, Sergei Litvak, Wilfried Van Hecke
December 2002
Intermediate to advanced content levelIntermediate to advanced
534 pages
12h 14m
English
IBM Redbooks
Content preview from Introduction to the IBM Application Development Tools on z/OS and OS/390
Chapter 2. Introducing File Manager 53
2.3.3 Search for a string in all members of a PDS
If you need to determine which members of a PDS contain a particular string,
you can use this utility.
The code to perform this function with File Manager is shown in Example 2-19.
Example 2-19 File Manager string find in a PDS batch step
//*
//* FILE MANAGER BATCH: SEARCH FOR STRING
//*
//STEP01 EXEC PGM=FILEMGR
//STEPLIB DD DSN=FMN.SFMNMOD1,DISP=SHR
//* DD DSN=IGY.SIGYCOMP,DISP=SHR
//SYSPRINT DD SYSOUT=*
//FMNTSPRT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//DDIN DD DISP=SHR,DSN=YOUR.CHANGE.MGMT.UAT.JCLLIB
//SYSIN DD *
$$FILEM FCH INPUT=DDIN,MEMBER=*,
$$FILEM ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Using IBM Application Development Tools for z/OS and OS/390

Using IBM Application Development Tools for z/OS and OS/390

Joe DeCarlo, Peter Henningsen, Paula Hesketh, Lars-Erik Olsson
IBM Problem Determination Tools for z/OS

IBM Problem Determination Tools for z/OS

Rufus Credle, Vikram Manchala, Dana Shelton, Kenichi Yoshimura
IBM z/OS Management Facility V2R1

IBM z/OS Management Facility V2R1

Karan Singh, Richard Davis, Anuja Deedwaniya, Michael Jägering, Redelf Janßen, Michael Morrissey, Neil O'Connor, Conrad Peche, Arunkumar Ramachandran, Richard Walton

Publisher Resources

ISBN: 0738428043Purchase book