Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Concatenating all uploaded datasets in a day.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Naresh chinthaneppu

New User


Joined: 21 Jun 2007
Posts: 11
Location: pune

PostPosted: Wed Oct 10, 2007 3:47 pm    Post subject: Concatenating all uploaded datasets in a day.
Reply with quote

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
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Oct 10, 2007 3:53 pm    Post subject: Reply to: Concatenating all uploaded datasets in a day.
Reply with quote

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
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Wed Oct 10, 2007 3:53 pm    Post subject:
Reply with quote

pleas etry to provide some information. what will be the name format of files after uploading?
Back to top
View user's profile Send private message
Naresh chinthaneppu

New User


Joined: 21 Jun 2007
Posts: 11
Location: pune

PostPosted: Wed Oct 10, 2007 4:02 pm    Post subject: Reply to: Concatenating all uploaded datasets in a day.
Reply with quote

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
View user's profile Send private message
Naresh chinthaneppu

New User


Joined: 21 Jun 2007
Posts: 11
Location: pune

PostPosted: Wed Oct 10, 2007 4:10 pm    Post subject: Reply to: Concatenating all uploaded datasets in a day.
Reply with quote

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
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Wed Oct 10, 2007 4:12 pm    Post subject:
Reply with quote

For that you can do concatnation, but for identifying the files at last there shold be some specific format.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Oct 10, 2007 4:49 pm    Post subject: Reply to: Concatenating all uploaded datasets in a day.
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Oct 10, 2007 6:36 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Naresh chinthaneppu

New User


Joined: 21 Jun 2007
Posts: 11
Location: pune

PostPosted: Fri Oct 12, 2007 12:19 pm    Post subject: Reply to: Concatenating all uploaded datasets in a day.
Reply with quote

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
View user's profile Send private message
knageswarrao

New User


Joined: 12 Jun 2007
Posts: 2
Location: pune

PostPosted: Fri Oct 12, 2007 5:01 pm    Post subject: Reply to: Concatenating all uploaded datasets in a day.
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Oct 12, 2007 8:41 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Oct 12, 2007 11:32 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us