Count the number of files based on a naming convention.

JES2/3, JCL, utilities.

Topic author
Hari Om
New Member
Posts: 9
Joined: Tue Nov 26, 2013 10:39 am
Has thanked: 1 time

Count the number of files based on a naming convention.

Postby Hari Om » Thu Apr 13, 2017 10:30 am

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: 806
Joined: Wed Sep 11, 2013 3:57 pm
Been thanked: 64 times

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

Postby enrico-sorichetti » Thu Apr 13, 2017 11:28 am

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-)


Return to “JCL - Job Control Language.”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests