View previous topic :: View next topic |
Author |
Message |
jack madison Beginner
Joined: 14 Mar 2006 Posts: 4 Topics: 1
|
Posted: Tue Mar 14, 2006 11:59 am Post subject: Input data set name changes |
|
|
We need to process a file pushed to us daily that has a timestamp as a node in the file name. Our initial plan is to use LISTCAT and have the SYSPRINT go to a dataset, sort the data set using the first 3 nodes of the incoming file name since they are consistant and output the file name as a temporay file. Is this the best or only approach to contend with dsn name changes?
Thanks _________________ JACK II |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Mar 14, 2006 12:03 pm Post subject: |
|
|
jack madison,
Quote: |
We need to process a file pushed to us daily that has a timestamp as a node
|
How are you getting the file? FTP ? NDM ? or ???
How often do you get a file? once a day or many times a day?
If you are getting the file via FTP , I suggest to use a GDG , so whenever a new file comes in you will create a new generation.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
jack madison Beginner
Joined: 14 Mar 2006 Posts: 4 Topics: 1
|
Posted: Tue Mar 14, 2006 12:07 pm Post subject: |
|
|
We are receiving the file via NDM. The naming convention was dictated to us. The file can come multiple times a day, that is why they want the timestamp as a node. _________________ JACK II |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Tue Mar 14, 2006 12:16 pm Post subject: |
|
|
If, for some reason, they need to re-create and re-transmit the data, do they reuse the original dataset name, or create an entirely new dataset with a different timestamp value?
For the sake of everyone's sanity who will support this process, I'd leave the original dataset name alone and just make sure that the processing logic is enabled to handle the various dataset names. |
|
Back to top |
|
 |
jack madison Beginner
Joined: 14 Mar 2006 Posts: 4 Topics: 1
|
Posted: Tue Mar 14, 2006 12:24 pm Post subject: |
|
|
We had similar questions. The few retransmits we have received do have new timestamps in the dsn. Currently we look for the new dsn and create a run mod with the new name but we are trying to automate the process. Thank you for the assistance and your time. _________________ JACK II |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Mar 14, 2006 1:01 pm Post subject: |
|
|
jack madison,
At the end of day (after the last transmission) run list cat against the 3 qualifiers and capture all datasets with that node and create a dynamic JCL using the listcat info to copy them into a single dataset. Also generate a Delete card for deleting them once you have copied all of them into a single dataset.
Alternatively you can use catalog search interface to find the datasets . check this link
http://www.mvsforums.com/helpboards/viewtopic.php?t=382&highlight=nonvsam
Hope this helps....
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Wed Mar 15, 2006 5:15 am Post subject: |
|
|
jack madison,
I do not know NDM. But, is it possible for the interface to send you the files with an append statement so that at the end of day, you have one LARGE file instead of many small files, differently named ? _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
 |
jack madison Beginner
Joined: 14 Mar 2006 Posts: 4 Topics: 1
|
Posted: Wed Mar 15, 2006 9:54 am Post subject: |
|
|
The sender of the file created the NDM process and it is generic for multiple receivers and once the file is received on our end the file naming convention can not be altered. We are taking the approach suggested by Kolusu and create dynamic JCL after determining the file names with LISTCAT.
Thanks for all of the information and ideas. _________________ JACK II |
|
Back to top |
|
 |
|
|