MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Input data set name changes

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
jack madison
Beginner


Joined: 14 Mar 2006
Posts: 4
Topics: 1

PostPosted: Tue Mar 14, 2006 11:59 am    Post subject: Input data set name changes Reply with quote

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


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Mar 14, 2006 12:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jack madison
Beginner


Joined: 14 Mar 2006
Posts: 4
Topics: 1

PostPosted: Tue Mar 14, 2006 12:07 pm    Post subject: Reply with quote

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


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Mar 14, 2006 12:16 pm    Post subject: Reply with quote

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


Joined: 14 Mar 2006
Posts: 4
Topics: 1

PostPosted: Tue Mar 14, 2006 12:24 pm    Post subject: Reply with quote

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


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Mar 14, 2006 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Wed Mar 15, 2006 5:15 am    Post subject: Reply with quote

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


Joined: 14 Mar 2006
Posts: 4
Topics: 1

PostPosted: Wed Mar 15, 2006 9:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group