View previous topic :: View next topic |
Author |
Message |
deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Thu Jul 10, 2003 4:12 am Post subject: Regarding Date |
|
|
Hi all,
I have a requirement like this. I have a jcl which does a repro using idcams.
Quote: |
//STEP01 EXEC PGM=IDCAMS
//*
//INDD1 DD DSN=INPUTFILE,DISP=SHR
//*
//OUTDD1 DD DSN=OUTPUTFILE,
// DISP=(NEW,CATLG,DELETE),
// DATACLAS=,
//*
// SPACE=(CYL,(01,05),RLSE),
// DCB=(LRECL=1000,BLKSIZE=0,RECFM=FB)
//SYSIN DD *
-----
/*
//*
|
There are many jcls like this and they are scheduled in CA7 scheduler.
I need that after the job run all the output files should have the system date (run date) appended to it. So the output file should look like
OUTPUTFILE1.date(any format of date)
OUTPUTFILE2.date(any format of date)...etc.
Is there any option in CA7 to do this??
Or is there any other way to do this...
If someone can tell the option with CA7 it will be better.
Thanks,
Deepesh
Note (i have already gone thru the post by meg..but it didnt help me out : ) |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Jul 10, 2003 5:29 am Post subject: |
|
|
deepeshk79,
Unfortunately CA-7 does not have any date variables available.Control-M scheduler package gives you some variables for date and time. Get the list of output file names and create rename cards for all of them and run it thru IKJEFT01. see meg's post and use the first solution posted by me. This is very easy and simple.Let me know if you have any questions.
Hope this helps...
cheers
kolusu |
|
Back to top |
|
 |
A.Benveniste Beginner
Joined: 23 Jun 2003 Posts: 4 Topics: 0
|
Posted: Thu Jul 10, 2003 11:07 am Post subject: |
|
|
deepeshk79,
I can't tell you if it works (prohibited on our site !) but what I saw during installation of Ca-7 is that you can use Ca-Driver which gives you the opportunity to 'resolve' variables in JCL. I remember that you can loop...
Well it's far in my head. Take a look on th CD-Rom.
Alain |
|
Back to top |
|
 |
|
|