Joined: 25 May 2007 Posts: 5 Location: los angeles, CA
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.
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.
Joined: 06 Jun 2008 Posts: 8319 Location: Dubuque, Iowa, USA
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.