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
 

 

Reading an input file with a DSN containing System date

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
gaylesmith

New User


Joined: 25 May 2007
Posts: 5
Location: los angeles, CA

PostPosted: Sat Jan 24, 2009 12:01 am    Post subject: Reading an input file with a DSN containing System date
Reply with quote

We have a new eCommerce interface that PUTS files to our mainframe daily with the DSN containing the a date. And, we have no control on the DSN they provide us. Their policy is to put the date on the file.

I need assistance on methods to use this file as input for CA-7 scheduled job.
I thought of using symbolics, but we want to eliminate any manual interface to the job. So that, no one has to change the date each day.

For Example:
Monday, the file is put to the mainframe as L2G.TTC.REFUND.JAN1909
Tuesday, the file was put as L2G.TTC.REFUND.JAN2009
Wednesday, the file was put as L2G.TTC.REFUND.JAN2109

So, on Monday, when our job runs, it would use as input L2G.TTC.REFUND.JAN1909
Tuesday, it would use L2G.TTC.REFUND.JAN2009

And, we don't want to manually update the jcl prior to execution.

Any suggestions?
Thank-you!
Gayle
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8086
Location: East Dubuque, Illinois, USA

PostPosted: Sat Jan 24, 2009 12:06 am    Post subject:
Reply with quote

Look in your CA-7 documentation for the CARPROC CA-7 driver procedure -- I believe it's in the Interfaces manual. CARPROC allows you to specify various date formats for file names, but is specific to CA-7.
Back to top
View user's profile Send private message
gaylesmith

New User


Joined: 25 May 2007
Posts: 5
Location: los angeles, CA

PostPosted: Sat Jan 24, 2009 12:34 am    Post subject: Reply to: Reading an input file with a DSN containing System
Reply with quote

Thank-you for your suggestion.

I will speak with the CA-7 support unit and see if they know about this feature, or have documentation for me to look at.

Still open to other suggestions.

Gayle
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP xls file from Mainfrmae kumarsatheeshc1 TSO/ISPF 5 Tue Jun 20, 2017 6:56 pm
No new posts Validate if a Value from the file is ... balacsv2 COBOL Programming 8 Mon Jun 19, 2017 11:52 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am
No new posts XML Parse for large file muralikrishnan_new COBOL Programming 3 Mon Jun 12, 2017 12:50 pm


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