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: 8132
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 editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Getting Mutiple input from Panels vidyaa CLIST & REXX 12 Mon Aug 14, 2017 1:28 pm
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am


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