Re: Jcl



Brian,

Those sound like greate candidates for the CBT tape. Maybe you could send them to one of the Sam's for inclusion, or are they proprietary code?

Eric Bielefeld
Sr. z/OS Systems Programmer
Milwaukee Wisconsin
414-475-7434

----- Original Message ----- From: "Brian Westerman" <Brian_Westerman@xxxxxxxxxxxx>
Newsgroups: bit.listserv.ibm-main
To: <IBM-MAIN@xxxxxxxxxxx>
Sent: Wednesday, September 13, 2006 12:03 AM
Subject: Re: Jcl


Hi,

I have a few solutions for you.

1) I can send you a program that you execute as a step in your job and it
will create a sondition code based on what day of the week it is,
(1=Monday, 2=Tuesday, etc.) and another one that does the same thing, but
returns the day of the month as a condition code, i.e. RC=23 means it's
the 23rd.

2) I can send you a program that you pass the day of the week in your parm
(i.e. Tuesday), and it will set the condition code rc=4 if it's that day
or RC=8 if it's not.

3) I can send you a program that checks if a file (that you pass oin the
parm) has been created today, if so, the RC is set to 0 if found and
created today, 4 if found but not created today, and 8 if not found. You
can then use it to make sure that your process runs only once a day. But
htat doesn't really fit your requirements right now.

4) I have a command and job scheduler that is available in a free version
that will allow you to schedule any command or submit any job based on day
of week, day of month, time of day, etc. processing.

5) I also have a non-free, ($1,500) version of the program in #2 above
that gives you many more options like IF based processing, i.e. If it's
10am and CICS is active, then submit this job.

6) I have another non-free (also $1,500) facility that functions as a on-
demand script processor with the full scripting ability so that your job
could execute a script which (depending on the time of day, day of week,
system ID, and any of 30 other options) submit your correct process or job.

I think that you can use either option 5 or 6 to get exactly what you want
in a supported product, and the cost is minimal, certainly far cheaper
than either a scheduling or command package from IBM or any other vendor.
Take your pick. Just send me an email and let me know which one you want
to try. I can send you a test version of the non-free ones.

Brian

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: Run VBScript as Task in 32 Bit Mode
    ... There's no task scheduler forum, so you'll end up circling back to here. ... What I suspect is that one of the things you do in your script makes it hang when running scheduled, which is why I was suggesting using the event log to capture information. ... I change the target to execute to a batch file called test.bat with only the "dir" command in it. ... Post the script as-is (munging database passwords of course) so we can take a look at possible issues. ...
    (microsoft.public.scripting.vbscript)
  • =?iso-8859-1?Q?Re:_Jcl?=
    ... I can send you a program that you execute as a step in your job and it ... I have a command and job scheduler that is available in a free version ... demand script processor with the full scripting ability so that your job ...
    (bit.listserv.ibm-main)
  • Re: Run VBScript as Task in 32 Bit Mode
    ... WScript.Echo "Script running" ... command "dir". ... I right click on the tash in scheduler and select run. ... Post the script as-is (munging database passwords of course) so we can take a look at possible issues. ...
    (microsoft.public.scripting.vbscript)
  • Re: Run VBScript as Task in 32 Bit Mode
    ... WScript.Echo "Script running" ... command "dir". ... In the Task Scheduler I see scheduled ... Post the script as-is (munging database passwords of course) so we ...
    (microsoft.public.scripting.vbscript)
  • Re: Problems trying to configure Linux laptop to print to Windows XP shared printer
    ... map to guest = Never ... check password script = ... enumports command = ... ldap delete dn = No ...
    (comp.os.linux.setup)