View previous topic :: View next topic
|
Author |
Message |
deepu.surya Warnings : 1 New User
Joined: 01 Apr 2008 Posts: 10 Location: hyderabad
|
|
|
|
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 |
|
|
rajulan
New User
Joined: 11 Jan 2008 Posts: 66 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
rajulan
New User
Joined: 11 Jan 2008 Posts: 66 Location: India
|
|
|
|
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 |
|
|
skkp2006
New User
Joined: 14 Jul 2006 Posts: 93 Location: Chennai,India
|
|
|
|
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 |
|
|
|