Computing DATE in JCL



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Re: Computing DATE in JCL

Postby Blackthorn » Wed Jan 02, 2013 9:41 pm

What scheduler are you using?

TWS will calculate a date 30 days previously in any fomat you require and substitute that in to the JCL at run time.

I daresay other schedulers will have similar functionality. That would eliminate the need for a previous step to genereate the ACF control cards.
Blackthorn
 
Posts: 98
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 0 time
Been thanked: 2 times

Re: Re: Computing DATE in JCL

 

Re: Computing DATE in JCL

Postby naggarwal6 » Wed Jan 02, 2013 11:27 pm

Hey Blackthorn,
I am using a CA-7 scheduler.
naggarwal6
 
Posts: 10
Joined: Thu Dec 27, 2012 7:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Computing DATE in JCL

Postby Robert Sample » Wed Jan 02, 2013 11:43 pm

Look up CARPROC in the CA-7 manuals, in particular the CA-7 Interfaces Guide manual, and the chapter on CA-Driver Procedures, Variable Parameters, and Functions.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times

Re: Computing DATE in JCL

Postby naggarwal6 » Thu Feb 14, 2013 9:25 pm

Hey All,
What i want is to select a particular date range in JCL. If I get the system-date in JCL(in form of some variable or so), then i can compare that date with my date and accordingly proceed further..

Any helps??

THanks in Advance
Navdeep
naggarwal6
 
Posts: 10
Joined: Thu Dec 27, 2012 7:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Computing DATE in JCL

Postby Akatsukami » Thu Feb 14, 2013 9:42 pm

naggarwal6 wrote:Any helps??

Aside from the three that have been given you already?
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Computing DATE in JCL

Postby naggarwal6 » Thu Feb 14, 2013 10:13 pm

Yes..:-(
naggarwal6
 
Posts: 10
Joined: Thu Dec 27, 2012 7:45 pm
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post