View previous topic :: View next topic
|
Author |
Message |
Priyesh Tewari
New User
Joined: 24 Jun 2008 Posts: 7 Location: Pune
|
|
|
|
Hi,
Can somebdy clarify this for me? This question was asked to me yesterday
I have a job that contains 5 steps. In the job card it is specified that region=4k.
Now in the exec part of steps the region parm is specied as
step 1 region = 4k
step 2 region = 2k
step 3 region = 8k
step 4 region= 6k
step 5 region = 8k
Will this job run??
Thanks
Priyesh |
|
Back to top |
|
|
Gousiya Mulla
New User
Joined: 02 Jun 2008 Posts: 87 Location: Bangalore
|
|
|
|
I don't think there should be any reason for job not to run having definition of Region as :
Code: |
The REGION parameter specifies the maximum size of the execution
region for any job step in this job. The value specified is the
amount in K (1024 byte units) or M (1024*1024 byte units) which will
be the upper limit on the amount of virtual storage that can be
obtained via GETMAIN requests by any step in the job. The REGION=
value on the JOB statement overrides the REGION= values on any EXEC
statement in the job. The REGION= value coded on an EXEC statement
in the job is only used if no REGION= value is coded on the JOB
statement.
|
|
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
The Region parameter on the job card applies to all the steps in the job except steps which have their own localised REGION parameter coded.
If a step has REGION parameter then the job card REGION parameter will be ignored. The value mentioned on the step would be effective for that step.
Quote: |
Will this job run?? |
Yes
Hope this helps. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
This question looks somewhat in-complete, was there any follow-up question after this from you, interviewer?
As Gousiya has said, The REGION= value on the JOB statement overrides the REGION= values on any EXEC statement in the job. The REGION= value coded on an EXEC statement in the job is only used if no REGION= value is coded on the JOB statement. So in case, 8k is coded on some of the steps, while job-card says to use maximum of just 4k, and those steps in real need that much of virtual storage, your job may abend with S106-0C.
So, job will run but might get an abend. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
vasanthz wrote: |
The Region parameter on the job card applies to all the steps in the job except steps which have their own localised REGION parameter coded.
If a step has REGION parameter then the job card REGION parameter will be ignored. The value mentioned on the step would be effective for that step. |
Unfortunately, this is not correct.
At my shop this job
Quote: |
//jobname JOB (@),'IBMMAIN',
// CLASS=Z,MSGCLASS=0,NOTIFY=&SYSUID,REGION=10K
//***
//S3 EXEC PGM=ICETOOL,REGION=450K
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN1 DD *
.
. |
abends with S106-0C:
Quote: |
Display Filter View Print Options Help
-----------------------------------------------------------------------------
SDSF OUTPUT DISPLAY jobname JOB14526 DSID 2 LINE CHARS 'ABEN' FOUND
COMMAND INPUT ===> SCROLL ===> CSR
06.39.28 JOB14526 CSV028I ABEND106-0C JOBNAME=jobname STEPNAME=S3
06.39.28 JOB14526 IEA995I SYMPTOM DUMP OUTPUT 597
597 SYSTEM COMPLETION CODE=106 REASON CODE=0000000C |
From manuals:
Quote: |
SYSTEM COMPLETION CODE=106 REASON CODE=0000000C
Explanation: An error occurred during processing of a LINK(X), LOAD,
ATTACH(X), or XCTL(X) macro.
An error was detected by the control program when it attempted to fetch the requested program into virtual storage. The return code in register 15 identifies the error; see accompanying messages CSV031I and CSV028I to determine the reason code. For PMLOADER internal errors not listed, contact the IBM Support Center.
0C Not enough storage was available for FETCH to get storage for the module or control blocks.
0C No storage for I/O supervisor block (IOSB). |
|
|
Back to top |
|
|
Priyesh Tewari
New User
Joined: 24 Jun 2008 Posts: 7 Location: Pune
|
|
|
|
Thanks all for the replies... |
|
Back to top |
|
|
|