View previous topic :: View next topic
|
Author |
Message |
Naresh chinthaneppu
New User
Joined: 21 Jun 2007 Posts: 11 Location: pune
|
|
|
|
Hi All,
My requirement is to concatenate all the datasets uploaded from pc to Host.i dont know how many files arre updated or what are their names...But i need to concatenate all the datasets uploaded within a day.
Could you please help me?.... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Adopt and ENFORCE some standards about naming,
(high level qualifier - for example )
how many is not a big problem
without this approach it is impossible to help You |
|
Back to top |
|
|
nuthan
Active User
Joined: 26 Sep 2005 Posts: 146 Location: Bangalore
|
|
|
|
pleas etry to provide some information. what will be the name format of files after uploading? |
|
Back to top |
|
|
Naresh chinthaneppu
New User
Joined: 21 Jun 2007 Posts: 11 Location: pune
|
|
|
|
Actually i dont know who is going to upload them and there is no such naming standards .....My job is to just take a backup of all the datasets uploaded from 9AM to 6PM in a working day.
Hope you got it.... |
|
Back to top |
|
|
Naresh chinthaneppu
New User
Joined: 21 Jun 2007 Posts: 11 Location: pune
|
|
|
|
one more thing is my backup dataset should contain all the information concatenated....it is not like taking one backup dataset for one uploaded dataset.
not one to one backup.it is all into one dataset. |
|
Back to top |
|
|
nuthan
Active User
Joined: 26 Sep 2005 Posts: 146 Location: Bangalore
|
|
|
|
For that you can do concatnation, but for identifying the files at last there shold be some specific format. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
It look like Your organization does not have the slightest idea about what an IT infrastructure should look like..
Lots of standards and documented procedures..
and a little bit of technology
NOTE. You is not You personally, but some IDtenT in Your organization
You do not know the names of the datasets.... OK !!!
You do not know how many there are... OK !!!
I Bet You do not even know the record format OK !!!
Are You sure at least that the content is of the same nature ???
......
by the first postulate and the unwillingness of Your IT organization
to enforce any standard
THERE IS NOTHING we can do for You.
Sorry about the rudeness of my statement, but that' the plain truth |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
While you and your organization decide how to approach your requirement, i'd suggest you make sure the pc(s)/server(s) retain a copy of whatever is uploaded. . .
If you don't know what is coming and you don't know what it will be named, how can it ever be used?
If the dcb attributes are not compatable, you won't be able to concatenate the data and use it.
If there can be some agreement on the high level dataset name qualifier(s), you could make a copy using dfdss - it might not be worth much, but it would be a copy. . .
I suspect there is more specific knowledge available and you/your management must gather it and make a real plan. |
|
Back to top |
|
|
Naresh chinthaneppu
New User
Joined: 21 Jun 2007 Posts: 11 Location: pune
|
|
|
|
Hi all,
Thank you for your suggestions.
From this week onwards all the files uploaded(required for my project) should have
1.same high level qualifier.
2.same DCB parameters
3.same record format.
But they may be uploaded by different userids.
Even now i am not sure how to get all the files concatenated in one dataset.could you please help me further?
Thanks in advance. |
|
Back to top |
|
|
knageswarrao
New User
Joined: 12 Jun 2007 Posts: 2 Location: pune
|
|
|
|
Hi all,
Here is my requirement,please suggest me
dncvoo.napdd1.xxxxx.aaaaa.sq300
dncvoo.napdd2.xxxxx.aaaaa.sq300
dncvoo.napdd3.xxxxx.aaaaa.sq300
dncvoo.napdd4.xxxxx.aaaaa.sq300 ----------- like this the files are uploaded into mainframes
but i don't know the how many files are there like this.
give me jcl solution for this to concatenate all these files. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
1.same high level qualifier.
2.same DCB parameters
3.same record format. |
A couple of methods come to mind:
First - run a listcat of everything that has this high level quailfier and then generate the copy jcl to concatenate all of them to the same DD (provided there will be less than 255 uploaded files per run). Submit the generated copy jcl and create the backup.
Second - Use a gdg and each upload creates a new +1 generation. When the "backup" job is run, use the unqualified gdg name and copy all existing generatins to a backup.
Even when there is a backup, how will the original data be used? If these remote systems will continually upload data, some plan needs to be in place to use the data (unless the only goal is to make a copy).
To me, it sounds like this could become a problem to maintain/support unless a complete plan is in place. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
knageswarrao
Quote: |
give me jcl solution for this to concatenate all these files. |
Here you go:
Step#1. IDCAMS Listcat and get all the filenames
Step#2. Create REPRO control card dynamically - you can use Sort or some other utility
Step#2. IDCAMS above REPRO card to same OFILE, with DISP=MOD
This should work...enjoy |
|
Back to top |
|
|
|