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 

Regarding Date

 
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
deepeshk79
Beginner


Joined: 20 Jun 2003
Posts: 112
Topics: 48
Location: Bangalore

PostPosted: Thu Jul 10, 2003 4:12 am    Post subject: Regarding Date Reply with quote

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 : Sad )
Back to top
View user's profile Send private message AIM Address
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Jul 10, 2003 5:29 am    Post subject: Reply with quote

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


Joined: 23 Jun 2003
Posts: 4
Topics: 0

PostPosted: Thu Jul 10, 2003 11:07 am    Post subject: Reply with quote

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
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