Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding all files with common qualifiers in TSO

Status
Not open for further replies.

jimlocigno4

Programmer
Aug 8, 2007
3
0
0
US
Hi,

I have searched the forum for this and I don't find any thing that really addresses what I need.

I will soon have lots of files in the form of
aaaaa.bbbbb.ccccc.dddddd.gggggg (the nodes are not necessarily all the same length). However the the dddddd node will be the only variable node. In other words I will have files similar to:

something.file.text.fqrtgrqr.ggggg
something.file.text.rerqrq.ggggg
something.file.text.gafadf.ggggg
something.file.text.gaff.ggggg

Is there a fully automated way in TSO/MVS to look for files using the above pattern (something.file.text.*.ggggg)
then concatenate all those files together into one new file?

This would be absurdly easy to do in UNIX but I don't think I have that option in this case. And from what I gather from Google searches this may be an impossible task in tso?

Keep in mind any solution needs to run unattended in batch (it will be a scheduled production process).

Thanks.
Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top