IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How will you run the particular job every Monday


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
reena_preethi

New User


Joined: 14 Jun 2006
Posts: 14

PostPosted: Mon Jul 17, 2006 5:50 pm
Reply with quote

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
View user's profile Send private message
hariavinash

New User


Joined: 04 Jan 2006
Posts: 64

PostPosted: Mon Jul 17, 2006 6:48 pm
Reply with quote

1. schedule
2. depends on database
3. do a COND check
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Mon Jul 17, 2006 8:11 pm
Reply with quote

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
View user's profile Send private message
vinay_raikar

New User


Joined: 05 Nov 2006
Posts: 1
Location: hyderabad

PostPosted: Wed Nov 08, 2006 7:53 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts How to find the first monday of the w... COBOL Programming 10
No new posts Syncsort - dates must be Monday and S... SYNCSORT 24
No new posts ESP: The Monday after the First Sund... CA Products 3
No new posts Syncsort to identify date of Monday f... JCL & VSAM 7
No new posts how to calculate monday date COBOL Programming 1
Search our Forums:

Back to Top