Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How will you run the particular job every Monday

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: How will you run the particular job every Monday
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    Post subject:
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: 680
Location: NJ

PostPosted: Mon Jul 17, 2006 8:11 pm    Post subject: Interview Question
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    Post subject: 3.consider in a proc 3 steps in it. i want to run 3rd step a
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Syncsort - dates must be Monday and S... ramsri SYNCSORT 24 Wed Nov 07, 2012 11:41 pm
No new posts ESP: The Monday after the First Sund... Phillip Edwards CA Products 3 Wed Sep 10, 2008 8:40 pm
No new posts Syncsort to identify date of Monday f... Skolusu JCL & VSAM 7 Fri May 02, 2008 9:05 pm
No new posts how to calculate monday date dhanak COBOL Programming 1 Sat Jan 12, 2008 10:40 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us