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

Few interview questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   This topic is locked: you cannot edit posts or make replies.
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
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
Reply with quote

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

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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 27, 2009 5:55 pm
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
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
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. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top