Count the number of files based on a naming convention.

JES2/3, JCL, utilities.
Post Reply
Hari Om
Registered Member
Posts: 11
Joined: Tue Nov 26, 2013 10:39 am

Count the number of files based on a naming convention.

Post by Hari Om »

Hi,

For a task in hand I need to collect files which follow a particular naming convention like ATD.DATA.FILE.N*. But before I'd like to know that how many files are actually present which follow this convention. Is there a way ti know this, please advise.

Thanks for your help.
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 825
Joined: Wed Sep 11, 2013 3:57 pm

Re: Count the number of files based on a naming convention.

Post by enrico-sorichetti »

a good old plain ispf 3.4 list or an or a IDCAMS listcat will tell approximately how many there are
vsam cluster names data might appear three times ( the cluster, the index, the data )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”