View previous topic :: View next topic
|
Author |
Message |
reena_preethi
New User
Joined: 14 Jun 2006 Posts: 14
|
|
|
|
hello friends
here is some interview questions.
1.how will you run the particular job every Monday?
2.can we give more primary keys in a table?
3.consider in a proc 3 steps in it. i want to run 3rd step after 1 step how to do it?
thanks in advance
regards
preethi |
|
Back to top |
|
|
hariavinash
New User
Joined: 04 Jan 2006 Posts: 64
|
|
|
|
1. schedule
2. depends on database
3. do a COND check |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Quote: |
1.how will you run the particular job every Monday? |
http://ibmmainframes.com/viewtopic.php?t=6633&highlight=job
Quote: |
2.can we give more primary keys in a table? |
Mostly one key is recommended. If necessary can have more than one. But not much.
Quote: |
3.consider in a proc 3 steps in it. i want to run 3rd step after 1 step how to do it? |
//STEP1 EXEC PGM=CINDY
.
.
//STEP2 EXEC PGM=NEXT,COND=(0,NE,STEP1)
.
.
//STEP3 EXEC PGM=LAST,COND=((8,LT,STEP1)) |
|
Back to top |
|
|
vinay_raikar
New User
Joined: 05 Nov 2006 Posts: 1 Location: hyderabad
|
|
|
|
Hi khamaurutheen !
//STEP1 EXEC PGM=CINDY
.
.
//STEP2 EXEC PGM=NEXT,COND=(0,NE,STEP1)
.
.
//STEP3 EXEC PGM=LAST,COND=((8,LT,STEP1))
In the code above,
I think the condition parameter in step 2 should be EQ and not NE for bypassing step 2, assuming that step 1 executes with RC=0. |
|
Back to top |
|
|
|