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
 

 

Few interview questions

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
deepu.surya
Warnings : 1

New User


Joined: 01 Apr 2008
Posts: 10
Location: hyderabad

PostPosted: Tue Jan 27, 2009 4:24 pm    Post subject: Few interview questions
Reply with quote

1. How many number of DD statements can be defined in a job?

2. While checking the LASTCC, MAXCC modal commands, can they be checked for only the return codes 4, 8, 16 and not for any other return codes say greater than 16??

3. What is the Library been specified in the Run JCL of the DB2-COBOL program after the plan name and member name?

4. How to execute a Job between say 8 am to 11 am of 01/20/2009?

5. What will happen if you attempt to restart a job in the middle of the //IF.....//ENDIF?
Back to top
View user's profile Send private message

rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Tue Jan 27, 2009 5:04 pm    Post subject:
Reply with quote

Quote:
1. How many number of DD statements can be defined in a job?

http://ibmmainframes.com/viewtopic.php?t=1302

Go thru the above link.

Ans: for single job step- 255
for a job- 255* 3273

2. While checking the LASTCC,MAXCC modal commands, can they be checked for only the return codes 4, 8, 16 and not for any other return codes say greater than 16??

The maximum condition code is 16. A cond code of 4 indicates
a warning. A cond code of 8 is usually encountered on a
DELETE of a dataset that is not present.

The return codes set by AMS can be interpreted as -

0 - Normal Completion - the functional command completed its processing successfully
4 - Minor Error - processing is able to continue, but a minor error occurred, causing a warming message to be issued
8 - Major Error - processing is able to continue, but a more severe error occurred, causing major command specifications to be bypassed
12 - Logical Error - generally, inconsistent parameters are specified, causing the entire command to be bypassed
16 - Severe Error - an error of such severity occurred that not only can the command causing the error not be completed, the entire AMS command stream is flushed




Quote:
3. What is the Library been specified in the Run JCL of the DB2-COBOL program after the plan name and member name?

//SYSTSIN DD *
DSN SYSTEM(XXXX)
RUN PROGRAM(pgmname) -
PLAN(planname) -
LIB('your.loadlib.pds') -
PARMS('2005-08-08/')
END
/*



Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7932
Location: Bellevue, IA

PostPosted: Tue Jan 27, 2009 5:55 pm    Post subject:
Reply with quote

Quote:
Ans: for single job step- 255
for a job- 255* 3273
Actually, this is not totally right. The JCL Language Reference manual clearly states that 3273 DD statements per step only applies if the site has modified the default TIOT size of 32K and increased it to 64K. So for a job it can be up to 255 * 3273 but it depends on the site.
Back to top
View user's profile Send private message
rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Tue Jan 27, 2009 6:03 pm    Post subject:
Reply with quote

What will happen if you attempt to restart a job in the middle of the //IF.....//ENDIF?

Job will fall through to the ENDIF (not executing any steps), the resume execution with the first step AFTER the // ENDIF.
Back to top
View user's profile Send private message
skkp2006

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Wed Jan 28, 2009 10:14 am    Post subject: Reply to: Few interview questions
Reply with quote

Quote:

1. How many number of DD statements can be defined in a job?


superk has given an excellent link here

Syam
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    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 Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm
No new posts Where can i find Interview questions ... Elixir Mainframe Interview Questions 4 Sat Feb 20, 2016 12:38 am
This topic is locked: you cannot edit posts or make replies. Mainframe interview on 10th Oct 2015 ... kotesh Mainframe Jobs 0 Thu Oct 08, 2015 5:21 pm


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