View previous topic :: View next topic |
Author |
Message |
MFdigger Beginner
Joined: 09 Sep 2005 Posts: 124 Topics: 52 Location: Chicago
|
Posted: Sun Nov 08, 2009 11:18 am Post subject: Jobs schedule - CA7 |
|
|
Hi All,
I'm new to CA-7 and tried searching this forum. I could able to get a few answers clarified from the forum.
How we can verify WHAT all jobs and WHEN the jobs are scheduled for today or tomorrow or next 1 week/Month/Quarter/Year
I tried verifying the commands such as LJOB, LSCHD, FSTRUC but was not successful or may be I didnt used the correct parms
I could see that the when the job is completed and what time but how can I verify the jobs scheduled for future
Could some one please help me on this.
Thank you
 _________________ Tx
Digger |
|
Back to top |
|
 |
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Sun Nov 08, 2009 3:24 pm Post subject: |
|
|
What did you do with LSCHD? I believe that is what you want.
You might try LSCHD,JOB=*,LIST=BYSID.
Do you have the documentation? _________________ All the best,
di |
|
Back to top |
|
 |
MFdigger Beginner
Joined: 09 Sep 2005 Posts: 124 Topics: 52 Location: Chicago
|
Posted: Sun Nov 08, 2009 5:49 pm Post subject: |
|
|
Hi Papadi
Thank you very much for the command. I could see now the scheduled dates for a job. Its showing the Scheduled date but How I can verify the timings when it will be executed?
When I tried verifying the command, its showing something with title 'Schedules' as shown below. Could someone please let me know what these explain about?
Like INDEX, SCAL, DOTM, LEADTM, SUBTM, STARTM, RDAY, NDAY, DAY
Code: |
------------------------------ SCHEDULES ------------------------------
CALENDAR SCAL09WD
ID=030 ROLL=N INDEX=+000
SCAL= DOTM=1010 LEADTM=0010 SUBTM=1000 STARTM=1000
MONTHLY RDAY=-00 MONTH=ALL
ANNUAL NDAY=331
ANNUAL DAY=333
|
Thank you _________________ Tx
Digger |
|
Back to top |
|
 |
rkarthik22 Beginner
Joined: 27 Sep 2008 Posts: 24 Topics: 9
|
Posted: Sun Nov 08, 2009 11:16 pm Post subject: Re: |
|
|
Hi Digger,
A simple Search in the CA-7 Database Maintenance guide Tells you:
[code:1:ffe8a88cf9]
INDEX:
Specifies an adjustment to schedule days. After exercising the ROLL
option, the schedule is adjusted, forward for plus or backward for
minus, by the number of working days entered.
Size/Type: 4 numeric characters specified as Innn where I can
be plus (unsigned) or minus (-) and nnn can be 0 to
365 days
Required: No
Batch keyword: INDEX
You can use this field together with the RDAY field to schedule a job
to run 3 work days before the 15th of the month: specify -3 in the
INDEX field, X in the MONTHLY field, and 15 in the RDAY field.
SCAL:
This field indicates the last 2 characters of the default base calendar ID
to be used for schedule resolution. The complete calendar ID used is
in the format SCALnnxx where nn is the current year and xx is the
value entered. This value is used for all SCHIDs that do not have a
specific value coded on the DB.2.1-E screen.
Size/Type: 2 alphanumeric characters
Required: Yes - for the SAVE, REPL, and RESOLV functions
No - for CLEAR, DELETE, and EDIT functions
Automatically supplied for FETCH or FE functions
Batch keyword: SCAL
DOTM: Specifies a due-out time for the job and must be in format |
|
Back to top |
|
 |
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Mon Nov 09, 2009 3:18 pm Post subject: |
|
|
Quote: | Do you have the documentation? | Unanswered
You need to make sure you have the documentation (or links to it) available. The forum is a great place for some answers, but it is not the place to "get trained". _________________ All the best,
di |
|
Back to top |
|
 |
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Mon Nov 09, 2009 8:49 pm Post subject: |
|
|
Nor is it a good place to request copyrighted or proprietary material. _________________ ....Terry |
|
Back to top |
|
 |
|
|